]> git.plutz.net Git - serve0/commitdiff
bugfix: bad variable quoting
authorpaul <paul@plutz.net>
Mon, 28 Nov 2016 22:02:56 +0000 (22:02 +0000)
committerpaul <paul@plutz.net>
Mon, 28 Nov 2016 22:02:56 +0000 (22:02 +0000)
svn path=/trunk/; revision=164

pages/playctl.sh

index a4c5bbebb5fd45c5b37fc5653d9ed8e085ea9711..591efd6695d89c792edcca1cde960fc3d4f73e82 100755 (executable)
@@ -54,7 +54,7 @@ progress(){
 
   tail --pid=$$ -c100 -f "$statusfile" \
   | while read -d "$cr" line; do
-    [ $line = "BREAK" ] && exit 0
+    [ "$line" = "BREAK" ] && exit 0
     printf '%s\n' "$line"
   done \
   | sed -urn '1~12s;^.* V: *+([0-9]+)(\.[0-9]+) A-V:.*$;\1;p' \