aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/run-automated-builder
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-11-17 19:45:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-11-17 19:45:54 +0000
commit6d43e695cc7e158e9ea2d274bcc1ae2e85622ef2 (patch)
tree6ed10ec6e7df8829d6cfcb5f004eed89567b6f56 /scripts/auto-build/run-automated-builder
parent46331a765e751d7ccc6ad515f618faa6d92a8fd3 (diff)
update rsync uploading for new apt.puredata.info setup
svn path=/trunk/; revision=16559
Diffstat (limited to 'scripts/auto-build/run-automated-builder')
-rwxr-xr-xscripts/auto-build/run-automated-builder18
1 files changed, 1 insertions, 17 deletions
diff --git a/scripts/auto-build/run-automated-builder b/scripts/auto-build/run-automated-builder
index 4e86ae5e..bbef063c 100755
--- a/scripts/auto-build/run-automated-builder
+++ b/scripts/auto-build/run-automated-builder
@@ -1,12 +1,5 @@
#!/bin/sh
-
-## TODO:
-# - change the logfile name
-# - use a wrapper for rsync to handle platform specifics
-# - check whether rsync (or any other upload mechanism) is present
-# and mail accordingly
-
cd /
# On Mac OS X, there are some handy things in Fink, but don't override the
@@ -53,16 +46,7 @@ run_build_script ()
echo "----------------------------------------" >> "$LOGFILE" 2>&1
sh "$BUILDSCRIPT" >> "$LOGFILE" 2>&1
fi
-
- case $SYSTEM in
- mingw*)
- /c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links ${LOGFILE} rsync://${RSYNC_SERVER}/upload/${DATE}/logs/"
- ;;
- *)
- rsync -a "$LOGFILE" rsync://${RSYNC_SERVER}/upload/${DATE}/logs/
- ;;
- esac
+ rsync_file $LOGFILE ${DATE}/logs/`basename $LOGFILE`
# send status report if something failed
completion_test=$(tail -1 ${LOGFILE})