Skip to content

Commit

Permalink
Fix arg num check.
Browse files Browse the repository at this point in the history
  • Loading branch information
darko-poljak committed Jul 15, 2016
1 parent 12faca5 commit 0f2cda0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/build-helper
Expand Up @@ -191,7 +191,7 @@ eof
exit 1
fi
token="$2"
if [ $# -ge 2 ]
if [ $# -gt 2 ]
then
archivename="$3"
else
Expand Down
2 changes: 1 addition & 1 deletion bin/build-helper.freebsd
Expand Up @@ -226,7 +226,7 @@ eof
exit 1
fi
token="$2"
if [ $# -ge 2 ]
if [ $# -gt 2 ]
then
archivename="$3"
else
Expand Down

0 comments on commit 0f2cda0

Please sign in to comment.