diff options
author | Erich Eckner <git@eckner.net> | 2020-05-19 07:20:31 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-19 07:22:01 +0200 |
commit | 7554c4079c75dc12c34a2b77e148971285db18d0 (patch) | |
tree | a587c7b3750e8dffd7699b46b767f26dc8857116 /lib | |
parent | 23c4d57993ada49426a564702dea97e3d7d00184 (diff) | |
download | builder-7554c4079c75dc12c34a2b77e148971285db18d0.tar.xz |
lib/common-functions: failsafe_sftp() fix wrong regex - how did this ever work???
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/common-functions | 2 |
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 |