From 8aa2a48fc34bb55ee620c0eec4855c62d91ef97b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 5 Apr 2021 17:13:12 -0400 Subject: makepkg: fix the use of spaces in the localname:: component of sources Broken via refactoring in commit aa6fe1160b39cd364a6595b7c9f56acb1cea3432 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 Signed-off-by: Allan McRae --- scripts/libmakepkg/util/source.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/libmakepkg/util/source.sh.in b/scripts/libmakepkg/util/source.sh.in index 40c14a0c..444f8614 100644 --- a/scripts/libmakepkg/util/source.sh.in +++ b/scripts/libmakepkg/util/source.sh.in @@ -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 -- cgit v1.2.3-70-g09d2