index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | scripts/makeworld.in | 10 |
diff --git a/scripts/makeworld.in b/scripts/makeworld.in index acbd2830..8783fc9d 100755 --- a/scripts/makeworld.in +++ b/scripts/makeworld.in @@ -62,11 +62,6 @@ version() { echo } -if [ $# -lt 2 ]; then - usage - exit 1 -fi - MAKEPKG_OPTS= for arg in $*; do case $arg in @@ -147,6 +142,11 @@ if [ "$dest" = "" ]; then exit 1 fi +if [ $# -lt 1 ]; then + usage + exit 1 +fi + # convert a (possibly) relative path to absolute cd "$dest" dest="$(pwd)" |