Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-19 07:20:31 +0200
committerErich Eckner <git@eckner.net>2020-05-19 07:22:01 +0200
commit7554c4079c75dc12c34a2b77e148971285db18d0 (patch)
treea587c7b3750e8dffd7699b46b767f26dc8857116 /lib
parent23c4d57993ada49426a564702dea97e3d7d00184 (diff)
lib/common-functions: failsafe_sftp() fix wrong regex - how did this ever work???
Diffstat (limited to 'lib')
-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