summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 61e77e5)
raw | patch | inline | side by side (parent: 61e77e5)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Sun, 25 Oct 2009 14:34:45 +0000 (10:34 -0400) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Thu, 29 Oct 2009 18:17:37 +0000 (14:17 -0400) |
tools/sfsnapshot-upload | patch | blob | history |
index 1507cffc063cc7c1262f4eb7e635983bc860a075..e0a2300cc6ed97dcbb76867d2f6cfca8920be152 100755 (executable)
--- a/tools/sfsnapshot-upload
+++ b/tools/sfsnapshot-upload
md5sum *.gz | tee -a README > MD5SUM
# Sync the files
-rsync -a --exclude=.htaccess --exclude=HEADER.html --delete "$SFSNAP_DEST/" "$OUT_SERVER:$OUT_PATH"
+[ -n "$OUT_SERVER" ] && OUT_SERVER="$OUT_SERVER:"
+rsync -a --exclude=.htaccess --exclude=HEADER.html --delete "$SFSNAP_DEST/" "$OUT_SERVER$OUT_PATH"
trap - EXIT