Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-30 22:25:25 +0200
committerErich Eckner <git@eckner.net>2017-08-30 22:25:25 +0200
commit71e420d29b063dec02fd1c8a85fd5237ba3cefb2 (patch)
tree978ae02a9cd192e20b2479b960ef5da410bba720 /bin
parent865fad28cc0d05ab74a8bf1ef8fa2846d0b50472 (diff)
bin/common-functions: remove_old_package_versions: quote packages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 99e1fc7..b1fb9f0 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -500,9 +500,10 @@ remove_old_package_versions() {
sed '
s| \(\S\+\)$|-\1|
y| |/|
- s|^|rm |
+ s|^|rm "|
+ s|$|"|
p
- s|$|.sig|
+ s|"$|.sig"|
' "${tmp_dir}/packages-to-delete" | \
${master_mirror_sftp_command}
)