diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/sfsnapshot-upload | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/sfsnapshot-upload b/tools/sfsnapshot-upload index 1507cffc..e0a2300c 100755 --- a/tools/sfsnapshot-upload +++ b/tools/sfsnapshot-upload | |||
| @@ -94,7 +94,8 @@ END_README | |||
| 94 | md5sum *.gz | tee -a README > MD5SUM | 94 | md5sum *.gz | tee -a README > MD5SUM |
| 95 | 95 | ||
| 96 | # Sync the files | 96 | # Sync the files |
| 97 | rsync -a --exclude=.htaccess --exclude=HEADER.html --delete "$SFSNAP_DEST/" "$OUT_SERVER:$OUT_PATH" | 97 | [ -n "$OUT_SERVER" ] && OUT_SERVER="$OUT_SERVER:" |
| 98 | rsync -a --exclude=.htaccess --exclude=HEADER.html --delete "$SFSNAP_DEST/" "$OUT_SERVER$OUT_PATH" | ||
| 98 | 99 | ||
| 99 | trap - EXIT | 100 | trap - EXIT |
| 100 | 101 | ||
