Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-04-05 17:13:12 -0400
committerAllan McRae <allan@archlinux.org>2021-04-07 22:38:34 +1000
commit8aa2a48fc34bb55ee620c0eec4855c62d91ef97b (patch)
treed736ef214cc0c440945eb688642f80a9fee65758
parent90600583930b1a99436673d6247d04e7237286c0 (diff)
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 <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/libmakepkg/util/source.sh.in2
1 files changed, 1 insertions, 1 deletions
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