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>
This commit is contained in:
parent
e344fab3b1
commit
31aed1243e
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue