Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 02b8704..110578f 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -873,7 +873,7 @@ failsafe_sftp() {
cat > "${temp_dir}/input"
sed -n '
s/^rm "\([^"]\+\)"$/- \1/
- s/^ln\( [^"]\S*\)* "\([^"]\+\)" "[^"]\+"$/+ \2/
+ s/^ln\( [^"]\S*\)* "[^"]\+" "\([^"]\+\)"$/+ \2/
s/^rename "\([^"]\+\)" "\([^"]\+\)"$/- \1\n+ \2/
T
p