chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7fed73
)
do not sort since summer does
author
ianmdlvl
<ianmdlvl>
Sun, 23 Jul 2006 17:20:10 +0000
(17:20 +0000)
committer
ianmdlvl
<ianmdlvl>
Sun, 23 Jul 2006 17:20:10 +0000
(17:20 +0000)
backup/snaprsync
patch
|
blob
|
history
diff --git
a/backup/snaprsync
b/backup/snaprsync
index 14d471d47b6d8723280612d126113076a00bbc35..3238f392c624af47c90ac11e315691264351a6e0 100755
(executable)
--- a/
backup/snaprsync
+++ b/
backup/snaprsync
@@
-82,8
+82,7
@@
ssh $rhost <$td/sentinel 4<&- "
umask 077
exec 3>$rsumsfile
cd snap-mount
- $summer . | sort -t' ' -k2 >&3
- test x\"\${PIPESTATUS[*]}\" = 'x0 0'
+ $summer . >&3
date -u '+$rhost $datefmt sumsdone'
cd ..
" &
@@
-95,8
+94,7
@@
date -u "+ $datefmt rsyncdone"
exec 3>$localarea,lsums
(cd $localarea && \
- $summer . | sort -t' ' -k2 >&3 && \
- test x"${PIPESTATUS[*]}" = 'x0 0') &
+ $summer .) &
xspawned lsum
exec 3>&-