From caec2632b49a8ba80b1fec39bd9363be8a3c371e Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 9 Jan 2016 23:23:47 +0100 Subject: [PATCH] [songbook] Fix bug when arguments contain spaces --- songbook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/songbook b/songbook index bba8cbdf..e16b8d1a 100755 --- a/songbook +++ b/songbook @@ -3,8 +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. -if [ $1 = "purgecache" ]; then +if [ "$1" = "purgecache" ]; then find . -name ".cache" -type d -print -exec rm -r {} + else - python -m patacrep.songbook $* + python -m patacrep.songbook "$@" fi