Permalink
Browse files
Fix lexicographical compares of numeric values.
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+1
−1
clean.sh
-
+1
−1
sync.sh
|
|
@@ -25,7 +25,7 @@ if [ $# == 0 ]; then |
|
|
clean_packages=true
|
|
|
fi
|
|
|
|
|
|
-while [[ $# > 0 ]]
|
|
|
+while [[ $# -gt 0 ]]
|
|
|
do
|
|
|
opt="$1"
|
|
|
case $opt in
|
|
|
|
|
|
@@ -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