summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
)