summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclean.sh2
-rwxr-xr-xsync.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/clean.sh b/clean.sh
index 8d88bd27f2..dacb5e2986 100755
--- a/clean.sh
+++ b/clean.sh
@@ -25,7 +25,7 @@ if [ $# == 0 ]; then
clean_packages=true
fi
-while [[ $# > 0 ]]
+while [[ $# -gt 0 ]]
do
opt="$1"
case $opt in
diff --git a/sync.sh b/sync.sh
index 275f17ac0d..ab23561ac0 100755
--- a/sync.sh
+++ b/sync.sh
@@ -26,7 +26,7 @@ if [ $# == 0 ]; then
sync_src=true
fi
-while [[ $# > 0 ]]
+while [[ $# -gt 0 ]]
do
opt="$1"
case $opt in