Rename flush-cache.py to flush-cache, and rearrange the code a bit.

It was working fine, but the style wasn't exactly the way I like it, because
I'm unnecessarily picky. :)

Also, removed the file extension since we should probably learn from the
fact that it's already been rewritten once from one language to another.
Who knows, maybe it will be again someday.
This commit is contained in:
Avery Pennarun 2011-02-23 01:24:48 -08:00
commit 94c254de77
12 changed files with 47 additions and 51 deletions

View file

@ -4,15 +4,15 @@ rm -f chdir1
redo chdir2
redo chdir3
./flush-cache.py
./flush-cache
redo-ifchange chdir3
rm -f chdir1
./flush-cache.py
./flush-cache
redo-ifchange chdir3
[ -e chdir1 ] || exit 77
rm -f chdir1
./flush-cache.py
./flush-cache
redo-ifchange chdir3
[ -e chdir1 ] || exit 78