Permalink
Browse files

Fix lexicographical compares of numeric values.

  • Loading branch information...
1 parent ece6cb3 commit 63dd009d459054acd972acdc70c1e3bfbe5c9a0f @adityamandaleeka adityamandaleeka committed Jul 21, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 clean.sh
  2. +1 −1 sync.sh
View
@@ -25,7 +25,7 @@ if [ $# == 0 ]; then
clean_packages=true
fi
-while [[ $# > 0 ]]
+while [[ $# -gt 0 ]]
do
opt="$1"
case $opt in
View
@@ -26,7 +26,7 @@ if [ $# == 0 ]; then
sync_src=true
fi
-while [[ $# > 0 ]]
+while [[ $# -gt 0 ]]
do
opt="$1"
case $opt in

0 comments on commit 63dd009

Please sign in to comment.