index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-09-07 08:27:25 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-07 08:27:25 -0500 |
commit | 31aed1243ec70632d4e319e67c09446f1a474a6e (patch) | |
tree | e596ff3aed00884513ffb234fbbef2a67dbff7f9 | |
parent | e344fab3b12803b3a43aebe0b1a57c49631cc0ff (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index aa85b85b..de243387 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1448,7 +1448,7 @@ parse_options() { elif [[ ${1:0:1} = '-' ]]; then for ((i=1; i<${#1}; i++)); do if [[ $short_options =~ ${1:i:1} ]]; then - if [[ $short_options =~ "${1:i:1}:" ]]; then + if [[ $short_options =~ ${1:i:1}: ]]; then if [[ -n ${1:$i+1} ]]; then printf ' -%s' "${1:i:1}" printf " '%s'" "${1:$i+1}" |