Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 7f4d4f2

Browse files
Merge pull request #6395 from adityamandaleeka/fix_shell_scripts
Fix lexicographical compares of numeric values in a couple of scripts.
2 parents b6f387b + 63dd009 commit 7f4d4f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clean.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ $# == 0 ]; then
2525
clean_packages=true
2626
fi
2727

28-
while [[ $# > 0 ]]
28+
while [[ $# -gt 0 ]]
2929
do
3030
opt="$1"
3131
case $opt in

sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [ $# == 0 ]; then
2626
sync_src=true
2727
fi
2828

29-
while [[ $# > 0 ]]
29+
while [[ $# -gt 0 ]]
3030
do
3131
opt="$1"
3232
case $opt in

0 commit comments

Comments
 (0)