From 6110c295719a4aa2809aa74f5037880a0b1f3db8 Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Thu, 10 Jan 2013 21:40:11 -0800 Subject: [PATCH] sidplayall.sh: add quotes in test to avoid syntax err Add quotes to avoid the annoying syntax error when the string is empty. This fix is bash-specific, but we're requesting /bin/bash anyway. Signed-off-by: Colin McCabe --- sidplayall.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sidplayall.sh b/sidplayall.sh index 09c1488..6eec0fe 100755 --- a/sidplayall.sh +++ b/sidplayall.sh @@ -25,7 +25,7 @@ done get_next_action() { line="?" - while [ $line == "?" ]; do + while [ "$line" == "?" ]; do read line case $line in "") next_file=1;; -- 1.6.6.rc1.39.g9a42