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

1
t/flush-cache.sh Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/bin/sh
#echo "Flushing redo cache..." >&2
find "$REDO_BASE/.redo" -name 'built^*' -o -name 'mark^*' |
xargs rm -f >&2