From 297cd7897bfe060ce46d703e15ad7cbe37aedced Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 17 Jul 2011 00:09:19 +1000 Subject: makepkg: fix issue with filenames with spaces and noextract MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2