makepkg: fix the use of spaces in the localname:: component of sources
Broken via refactoring in commit aa6fe1160b
but for obvious reasons only one person in the last 9 years has ever
actually tried to do this. Still, it's technically correct to allow it.
Fixes FS#70254
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
9060058393
commit
8aa2a48fc3
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ get_filename() {
|
|||
|
||||
# if a filename is specified, use it
|
||||
if [[ $netfile = *::* ]]; then
|
||||
printf "%s\n" ${netfile%%::*}
|
||||
printf "%s\n" "${netfile%%::*}"
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue