From 63dd009d459054acd972acdc70c1e3bfbe5c9a0f Mon Sep 17 00:00:00 2001 From: Aditya Mandaleeka Date: Thu, 21 Jul 2016 13:55:29 -0700 Subject: [PATCH] Fix lexicographical compares of numeric values. --- clean.sh | 2 +- sync.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clean.sh b/clean.sh index 8d88bd2..dacb5e2 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 275f17a..ab23561 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 -- 2.7.4