about summary refs log tree commit diff
path: root/redo-sources
diff options
context:
space:
mode:
authorAndreyDobrovolskyOdessa <andrey.dobrovolsky.odessa@gmail.com>2021-02-22 02:10:42 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-02-27 14:51:36 +0100
commit6cf8c1bcc1e1cc6577fdebfa8b6ba3d2256365ad (patch)
treeef8c00b7d0c4b5c078c85e3305d5bcce76593df3 /redo-sources
parent8577c006cdc97ea378560e2dd7a20ed840cac4f5 (diff)
downloadredo-c-6cf8c1bcc1e1cc6577fdebfa8b6ba3d2256365ad.tar.gz
redo-c-6cf8c1bcc1e1cc6577fdebfa8b6ba3d2256365ad.tar.xz
redo-c-6cf8c1bcc1e1cc6577fdebfa8b6ba3d2256365ad.zip
Calling compute_uprel() before redo_ifchange()
record_deps() is called after redo_ifchange(). It needs uprel[] value
corresponding to REDO_DIRPREFIX supplied by the parent process. But
redo_ifchange() may modify REDO_DIRPREFIX in case it will envoke default*.do
file located in one of updirs. In this case if compute_uprel() will be
called from inside record_deps(), it will produce wrong uprel[] value.
That's why compute_uprel() must be called before run_script() will be
able to change REDO_DIRPREFIX for the child process.

Closes: #11 [via git-merge-pr]
Diffstat (limited to 'redo-sources')
0 files changed, 0 insertions, 0 deletions