Update rsync_xfer.sh

add rsync -l flag to transfer symlinks
This commit is contained in:
Andrew Bauer 2017-06-22 10:57:11 -05:00 committed by GitHub
parent 950c8f19d3
commit b10779ab3a
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then
# Don't keep packages older than 5 days # Don't keep packages older than 5 days
find ./zmrepo/$targetfolder/ -maxdepth 1 -type f -mtime +5 -delete find ./zmrepo/$targetfolder/ -maxdepth 1 -type f -mtime +5 -delete
rsync -vzh --ignore-errors build/* zmrepo/$targetfolder/ rsync -vzlh --ignore-errors build/* zmrepo/$targetfolder/
fusermount -zu zmrepo fusermount -zu zmrepo
else else
echo echo