diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-04-05 23:13:12 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-04-07 14:38:34 +0200 |
commit | 8aa2a48fc34bb55ee620c0eec4855c62d91ef97b (patch) | |
tree | d736ef214cc0c440945eb688642f80a9fee65758 /scripts/libmakepkg | |
parent | 90600583930b1a99436673d6247d04e7237286c0 (diff) | |
download | pacman-8aa2a48fc34bb55ee620c0eec4855c62d91ef97b.tar.gz pacman-8aa2a48fc34bb55ee620c0eec4855c62d91ef97b.tar.xz |
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>
Diffstat (limited to 'scripts/libmakepkg')
-rw-r--r-- | scripts/libmakepkg/util/source.sh.in | 2 |
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 |