apenwarr-redo/t/chdirtest.do
Avery Pennarun 60f5446733 Correctly handle dependencies for "cd somewhere; redo-ifchange somefile"
We would build 'somefile' correctly the first time, but we wouldn't
attach the dependency on somefile to the right $TARGET, so our target would
not auto-rebuild in the future based on somefile.
2010-11-24 03:06:33 -08:00

9 lines
203 B
Text

redo chdir1
redo chdir2
rm -f chdir1
. ./flush-cache.sh
# chdir2 sets its dependency on chdir1 in an odd way, so this might fail if
# redo doesn't catch it
redo-ifchange chdir2
[ -e chdir1 ] || exit 77