summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-16 16:09:19 +0200
committerDan McGee <dan@archlinux.org>2011-07-18 17:41:27 +0200
commit297cd7897bfe060ce46d703e15ad7cbe37aedced (patch)
tree3259ec4677f0ad25b46f8049f92a32211d2f18f9 /scripts/makepkg.sh.in
parente378170c2555b656ef87715d8284d038037ced5f (diff)
downloadpacman-297cd7897bfe060ce46d703e15ad7cbe37aedced.tar.gz
pacman-297cd7897bfe060ce46d703e15ad7cbe37aedced.tar.xz
makepkg: fix issue with filenames with spaces and noextract
Specifying a filename with spaces in a PKGBUILDs noextract array fails due to a lack of quoting. Fixes FS#25100. Reported-by: Thomas Weißschuh <thomas_weissschuh@lavabit.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 6fb36d27..8fa64f7b 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -674,7 +674,7 @@ extract_sources() {
local netfile
for netfile in "${source[@]}"; do
local file=$(get_filename "$netfile")
- if in_array "$file" ${noextract[@]}; then
+ if in_array "$file" "${noextract[@]}"; then
#skip source files in the noextract=() array
# these are marked explicitly to NOT be extracted
continue