reGen2 Linux Release Metatool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
795 B

# Copyright 2010-2012, Asio Software Technologies
# Distributed under the terms of the GNU General Public License v3
# Downloads or updates specified RSYNC repository
# Parameters: %dest_directory% %address%
function checkoutRsync() {
run "rsync --compress --delete --delete-after --devices --force --links \
--partial --perms --recursive --safe-links --stats --times \
--timeout=${FETCHTIMEOUT} --whole-file --exclude=/.git --exclude=CVS \
--exclude=/distfiles --exclude=/local --exclude=/metadata/cache \
--exclude=/packages ${ADDRESS} ${DIRECTORY}" || return 1
return 0