index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Fyfe <andrew@neptune-one.net> | 2007-04-11 21:51:20 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-05-27 17:16:27 -0400 |
commit | a73e9a24affa79c2d83e849f7f3c2efd12ef41f0 (patch) | |
tree | a56c1f6bbb7559834e1f6d9b7ef328375945d5fd /scripts/gensync.in | |
parent | 95720106bb65c5d6013b0ecdd3be4a3b78509568 (diff) |
-rwxr-xr-x | scripts/gensync.in | 10 |
diff --git a/scripts/gensync.in b/scripts/gensync.in index a8e782fd..7898f286 100755 --- a/scripts/gensync.in +++ b/scripts/gensync.in @@ -78,11 +78,6 @@ check_force () { # PROGRAM START -if [ $# -lt 2 ]; then - usage - exit 1 -fi - if [ "$1" = "-h" -o "$1" = "--help" ]; then usage exit 0 @@ -93,6 +88,11 @@ if [ "$1" = "-V" -o "$1" = "--version" ]; then exit 0 fi +if [ $# -lt 2 ]; then + usage + exit 1 +fi + # source system and user makepkg.conf if [ -r /etc/makepkg.conf ]; then source /etc/makepkg.conf |