diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-09 18:37:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-09 18:37:45 +0200 |
commit | 4e0b6affb08148e5421d85107425ebcfb183344d (patch) | |
tree | b36120b5c2f26da272f4e39d868d41a9ef9379d8 /bin/pkg | |
parent | be02e06b00e95060d8707713e8d2140c2f5da70f (diff) |
pkg: Only shift if there are arguments
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ while [[ $1 == --* ]] { } action=$1 -shift +((#)) && shift [[ -n $PKG_ROOT ]] || die "No PKG_ROOT specified. Please edit your pkg.conf\n" : ${PKG_DIR:="$HOME/packages"} |