diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-07 15:27:25 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-07 15:27:25 +0200 |
commit | 31aed1243ec70632d4e319e67c09446f1a474a6e (patch) | |
tree | e596ff3aed00884513ffb234fbbef2a67dbff7f9 /scripts | |
parent | e344fab3b12803b3a43aebe0b1a57c49631cc0ff (diff) | |
download | pacman-31aed1243ec70632d4e319e67c09446f1a474a6e.tar.gz pacman-31aed1243ec70632d4e319e67c09446f1a474a6e.tar.xz |
Remove quotes in remaining bash regexes
After a8dcfeccfc, Allan noted that one more regular exprssion inside makepkg
also contained quotes; these should not be there for the same reason as that
commit.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |