index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-05-02 14:24:44 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-05-12 21:11:52 +1000 |
commit | 542c3cf812e32989610cb09f40dbc237f2fba9bb (patch) | |
tree | 16e7eb0b36d8d61dc93a3fe6cd0aaa5e888e0940 /scripts/libmakepkg/util/pkgbuild.sh.in | |
parent | 2c94118dc168f16231e38a84c0b569b5b0006fd9 (diff) |
-rw-r--r-- | scripts/libmakepkg/util/pkgbuild.sh.in | 4 |
diff --git a/scripts/libmakepkg/util/pkgbuild.sh.in b/scripts/libmakepkg/util/pkgbuild.sh.in index 2db46f1f..632f314d 100644 --- a/scripts/libmakepkg/util/pkgbuild.sh.in +++ b/scripts/libmakepkg/util/pkgbuild.sh.in @@ -80,8 +80,8 @@ extract_function_variable() { printf -v attr_regex '^[[:space:]]* %s\+?=[^(]' "$2" fi - # save our shell options and turn on extglob - local shellopts=$(shopt -p) + # this function requires extglob - save current status to restore later + local shellopts=$(shopt -p extglob) shopt -s extglob while read -r; do |