From: paul Date: Mon, 28 Nov 2016 22:02:56 +0000 (+0000) Subject: bugfix: bad variable quoting X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=ece6dc351856b84a276ea6dca4da1af5d56da31b;p=serve0 bugfix: bad variable quoting svn path=/trunk/; revision=164 --- diff --git a/pages/playctl.sh b/pages/playctl.sh index a4c5bbe..591efd6 100755 --- a/pages/playctl.sh +++ b/pages/playctl.sh @@ -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' \