diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-28 16:12:56 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-28 16:12:56 +0100 |
commit | a3814c5afb568f3de79545b5ae146ee9b5f55a5d (patch) | |
tree | 6a6e003d58d31a7419d3fbe0ef9b304750bd4b2e /bin/pkg | |
parent | 453f8ffe1dc0100be890ea335f3f2a805e6f8d2e (diff) |
pkg: Fixed option parsing
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,8 +100,8 @@ while [[ $1 == [-+]* ]] { +d|--no-debug) DEBUG=0 ;; -au|--auto-update) AUTOUPDATE=1 ;; +au|--no-auto-update) AUTOUPDATE=0 ;; - -co|--checklinks-options) CL_OPTIONS+=$1; shift ;; - -p|--packagedir) PDIR=$1; shift ;; + -co|--checklinks-options) CL_OPTIONS+=$2; shift ;; + -p|--packagedir) PDIR=$2; shift ;; *) die "Unknown argument: '$1'\n" ;; esac shift |