diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-17 00:09:19 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-18 10:41:27 -0500 |
commit | 297cd7897bfe060ce46d703e15ad7cbe37aedced (patch) | |
tree | 3259ec4677f0ad25b46f8049f92a32211d2f18f9 | |
parent | e378170c2555b656ef87715d8284d038037ced5f (diff) |
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>
-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 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 |