projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8b2514a
)
sidplayall.sh: add quotes in test to avoid syntax err
author
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Fri, 11 Jan 2013 05:40:11 +0000 (21:40 -0800)
committer
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Fri, 11 Jan 2013 05:40:11 +0000 (21:40 -0800)
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 <cmccabe@alumni.cmu.edu>
sidplayall.sh
patch
|
blob
|
history
diff --git
a/sidplayall.sh
b/sidplayall.sh
index
09c1488
..
6eec0fe
100755
(executable)
--- 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;;