From 6d43e695cc7e158e9ea2d274bcc1ae2e85622ef2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 17 Nov 2012 19:45:54 +0000 Subject: update rsync uploading for new apt.puredata.info setup svn path=/trunk/; revision=16559 --- scripts/auto-build/auto-build-common | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/auto-build/auto-build-common') diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common index f0d75424..8280035b 100644 --- a/scripts/auto-build/auto-build-common +++ b/scripts/auto-build/auto-build-common @@ -65,6 +65,15 @@ print_ip_address() fi } +rsync_file() +{ + file=$1 + subdir_file=$2 + # if the rsync fails, ignore and carry on + (rsync -a --chmod=a+r -e ssh ${file} ${RSYNC_SERVER}:/home/apt/www/auto-build/$subdir_file && \ + echo "successfully uploaded: $(basename $file)") || \ + true +} rsync_distro() { -- cgit v1.2.1