diff --git a/songbook b/songbook index f4850774..bba8cbdf 100755 --- a/songbook +++ b/songbook @@ -3,4 +3,8 @@ # Do not edit this file. This file is just a helper file for development test. # It is not part of the distributed software. -python -m patacrep.songbook $* +if [ $1 = "purgecache" ]; then + find . -name ".cache" -type d -print -exec rm -r {} + +else + python -m patacrep.songbook $* +fi