diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-03-18 23:20:51 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-03-18 23:20:51 +0000 |
commit | 5a5d5b3a0506d895566c43a6ad31c9f553c3862d (patch) | |
tree | 8cf484db4cbb5137323eba9f8d2dd59b2b12e5c1 | |
parent | 732b9aa2553b4a3709361230861bc5fb3985465c (diff) |
Fix checking for option escaping -- before -* .
-rwxr-xr-x | localcowbuilder-create | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/localcowbuilder-create b/localcowbuilder-create index e6eb030..0a40f91 100755 --- a/localcowbuilder-create +++ b/localcowbuilder-create @@ -51,14 +51,14 @@ while [ $# -gt 0 ]; do opts="$opts --debootstrapopts --arch --debootstrapopts $2" shift 2 ;; - --*|-*) - opts="$opts $1" - shift - ;; --) shift break ;; + --*|-*) + opts="$opts $1" + shift + ;; *) if [ -z "$pool" ]; then pool="$1" |