If a and b both depend on c, and c is a static (non-generated) file that has changed since the last successful build of a and b, we would try to redo a, but would forget to redo b. Now it does both.
10 lines
162 B
Text
10 lines
162 B
Text
rm -f static.log
|
|
|
|
redo static1 static2
|
|
|
|
touch static.in
|
|
. ../flush-cache.sh
|
|
redo-ifchange static1 static2
|
|
|
|
COUNT=$(wc -l <static.log)
|
|
[ "$COUNT" = 4 ] || exit 55
|