aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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