chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cprogs/Makefile: clean deletes $PROGRAMS
[chiark-utils.git]
/
backup
/
snaprsync
diff --git
a/backup/snaprsync
b/backup/snaprsync
index fbd385339fe45990a8ae0e2c466192c10d9345ea..82ea5d416f8ab1dc86349b2c7287a7a3dd886626 100755
(executable)
--- a/
backup/snaprsync
+++ b/
backup/snaprsync
@@
-103,7
+103,7
@@
mkfifo -m 600 $td/sentinel
exec 4<>$td/sentinel
x ssh $sshopts $rhost "$sshpfx $rsharedir/snap-drop $rvardir"
exec 4<>$td/sentinel
x ssh $sshopts $rhost "$sshpfx $rsharedir/snap-drop $rvardir"
-ssh $sshopts $rhost "
+
x
ssh $sshopts $rhost "
$sshpfx
set -e
cd $rvardir
$sshpfx
set -e
cd $rvardir
@@
-140,7
+140,7
@@
exec 3>&-
xwait rsum
exec 4<&-
date -u "+ $datefmt sumsdone"
xwait rsum
exec 4<&-
date -u "+ $datefmt sumsdone"
-x ssh $sshopts $rhost "$sshpfx $rsharedir/snap-drop"
+x ssh $sshopts $rhost "$sshpfx $rsharedir/snap-drop
$rvardir
"
if [ "x${localprevious}" != x ] && test -f "$localprevious,rsums"; then
cp "$localprevious,rsums" "$localarea,rsums"
if [ "x${localprevious}" != x ] && test -f "$localprevious,rsums"; then
cp "$localprevious,rsums" "$localarea,rsums"