diff options
author | OBATA Akio <obache@wizdas.com> | 2019-08-18 17:28:53 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-08-18 15:38:18 +0200 |
commit | fafd412d640a738313f6a435fbc344ce482e8108 (patch) | |
tree | 5c1ce1bd6b8b6f117c0af4f4c3334b37f74fef8a | |
parent | 4741832142e091d641fb8a90607b4595accb905d (diff) | |
download | tdebase-fafd412d640a738313f6a435fbc344ce482e8108.tar.gz tdebase-fafd412d640a738313f6a435fbc344ce482e8108.zip |
Fix test(1) portability
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 60e5e374553ce75f2e499888c8592bbeaa6f8b1e)
-rwxr-xr-x | kdialog/progresscanceldemo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdialog/progresscanceldemo b/kdialog/progresscanceldemo index 358ee54bd..42ea3d33e 100755 --- a/kdialog/progresscanceldemo +++ b/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; |