flush-cache: run it as a separate program, not using 'source'

That way it doesn't clutter up 'redo -x' as much.
This commit is contained in:
Avery Pennarun 2010-12-08 20:16:26 -08:00
commit 8dad223225
8 changed files with 15 additions and 13 deletions

View file

@ -1,7 +1,7 @@
rm -f makedir.log
redo makedir
touch makedir/outfile
. ./flush-cache.sh
./flush-cache.sh
redo-ifchange makedir
COUNT=$(wc -l <makedir.log)
[ "$COUNT" = 1 ] || exit 99