summaryrefslogtreecommitdiffstats
path: root/rsync.sh
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-09-06 16:47:27 -0400
committerMalf Furious <m@lfurio.us>2017-09-06 16:47:27 -0400
commitee7d93c9d3371d149acb0be471d68ee166db74b8 (patch)
treefaf4f4d0924a40ee6f8ca3cbfad8b38d270ef625 /rsync.sh
parent7192615541e6f242d2414a12115e54de54b020b1 (diff)
downloadsystrunk-ee7d93c9d3371d149acb0be471d68ee166db74b8.tar.gz
systrunk-ee7d93c9d3371d149acb0be471d68ee166db74b8.zip
Fix rsync suffix bug
Files were being suffixed with extra characters.
Diffstat (limited to 'rsync.sh')
-rw-r--r--rsync.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsync.sh b/rsync.sh
index 5fc0c7d..165d360 100644
--- a/rsync.sh
+++ b/rsync.sh
@@ -72,9 +72,9 @@ function systr_rsync_del
dst="$3"
if [[ "$src" == "." ]]; then
- suffix="--suffix='&'"
+ suffix="--suffix=&"
else
- suffix="--suffix='~'"
+ suffix="--suffix=~"
fi
rsync -azb $suffix --existing --ignore-existing \