chiark
/
gitweb
/
~mdw
/
ssh-ca
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89f7488
)
bin/upload: Add a `$publish_opts' parameter for special rsync effects.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 5 Apr 2015 10:40:15 +0000
(11:40 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 5 Apr 2015 10:40:15 +0000
(11:40 +0100)
bin/upload
patch
|
blob
|
blame
|
history
diff --git
a/bin/upload
b/bin/upload
index 948e3a71928c812d8b5653b8e1140f247bfa54d3..b6b16a55d68b185c7c76628a554864d445ca976d 100755
(executable)
--- a/
bin/upload
+++ b/
bin/upload
@@
-3,6
+3,6
@@
set -e
. lib/func.sh
set -e
. lib/func.sh
-rsync \
- --recursive --delete-after --delay-updates \
- publish/ $publish_target
+
eval "
rsync \
+ --recursive --delete-after --delay-updates
$publish_opts
\
+ publish/ $publish_target
"