mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-09 04:57:59 -05:00
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>
This commit is contained in:
parent
e378170c25
commit
297cd7897b
@ -674,7 +674,7 @@ extract_sources() {
|
|||||||
local netfile
|
local netfile
|
||||||
for netfile in "${source[@]}"; do
|
for netfile in "${source[@]}"; do
|
||||||
local file=$(get_filename "$netfile")
|
local file=$(get_filename "$netfile")
|
||||||
if in_array "$file" ${noextract[@]}; then
|
if in_array "$file" "${noextract[@]}"; then
|
||||||
#skip source files in the noextract=() array
|
#skip source files in the noextract=() array
|
||||||
# these are marked explicitly to NOT be extracted
|
# these are marked explicitly to NOT be extracted
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user