mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Allow rsyncing to local paths
This commit is contained in:
parent
61e77e54d7
commit
bb06aafc5b
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue