From ece6dc351856b84a276ea6dca4da1af5d56da31b Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 28 Nov 2016 22:02:56 +0000 Subject: [PATCH] bugfix: bad variable quoting svn path=/trunk/; revision=164 --- pages/playctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' \ -- 2.39.2