Allow rsyncing to local paths

This commit is contained in:
Thomas Guyot-Sionnest 2009-10-25 10:34:45 -04:00
parent 61e77e54d7
commit bb06aafc5b

View file

@ -94,7 +94,8 @@ END_README
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