aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-11-24 17:00:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-11-24 17:00:42 +0000
commit620d48ceb23a659d57ddc168ec8e3db453990983 (patch)
treefe514c5ad292374840c8b56503543a6b6d9b930e /scripts/auto-build
parent6a364c727717fc8a16873ea1de0dd7b7f70a65e0 (diff)
if successful, archive log to DATE/logs
svn path=/trunk/; revision=16569
Diffstat (limited to 'scripts/auto-build')
-rwxr-xr-xscripts/auto-build/prep-auto-build-upload4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/auto-build/prep-auto-build-upload b/scripts/auto-build/prep-auto-build-upload
index 605bac54..3757d65c 100755
--- a/scripts/auto-build/prep-auto-build-upload
+++ b/scripts/auto-build/prep-auto-build-upload
@@ -20,3 +20,7 @@ chmod 0755 "${TODAYS_ROOT}" >> $LOGFILE 2>&1
chmod 0755 "${TODAYS_ROOT}/logs" >> $LOGFILE 2>&1
chmod a-w "$BUILD_ROOT" >> $LOGFILE 2>&1
chmod u+w "$BUILD_ROOT/latest" >> $LOGFILE 2>&1
+
+if [ -d $TODAYS_ROOT/logs ]; then
+ mv $LOGFILE $TODAYS_ROOT/logs/
+fi