Browse Source

Fix test(1) portability

Signed-off-by: OBATA Akio <obache@wizdas.com>
pull/66/head
OBATA Akio 3 years ago committed by TDE Gitea
parent
commit
60e5e37455
  1. 2
      kdialog/progresscanceldemo

2
kdialog/progresscanceldemo

@ -2,7 +2,7 @@
dcopRef=`./kdialog --progressbar "Press Cancel at Any time" 10`
dcop $dcopRef showCancelButton true
until test "true" == `dcop $dcopRef wasCancelled`; do
until test "true" = `dcop $dcopRef wasCancelled`; do
sleep 1
inc=$((`dcop $dcopRef progress` + 1))
dcop $dcopRef setProgress $inc;

Loading…
Cancel
Save