aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/auto-build/prep-auto-build-upload11
-rwxr-xr-xscripts/auto-build/run-automated-builder2
2 files changed, 7 insertions, 6 deletions
diff --git a/scripts/auto-build/prep-auto-build-upload b/scripts/auto-build/prep-auto-build-upload
index 11b48efa..d98d4fbd 100755
--- a/scripts/auto-build/prep-auto-build-upload
+++ b/scripts/auto-build/prep-auto-build-upload
@@ -12,9 +12,10 @@ LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt
BUILD_ROOT="/var/www/auto-build"
TODAYS_ROOT="${BUILD_ROOT}/${DATE}"
-chown -R root.root "${BUILD_ROOT}" >> $LOGFILE 2>&1
-mkdir "${TODAYS_ROOT}" >> $LOGFILE 2>&1
-chown nobody.nogroup "${TODAYS_ROOT}" >> $LOGFILE 2>&1
+chown -R root.root "${BUILD_ROOT}" >> $LOGFILE 2>&1
+mkdir "${TODAYS_ROOT}" >> $LOGFILE 2>&1
+mkdir "${TODAYS_ROOT}/logs" >> $LOGFILE 2>&1
+chown -R nobody.nogroup "${TODAYS_ROOT}" >> $LOGFILE 2>&1
-chown -R pd.pd /home/pd/ >> $LOGFILE 2>&1
-chmod -R u+rw /home/pd/ >> $LOGFILE 2>&1
+chown -R pd.pd /home/pd/ >> $LOGFILE 2>&1
+chmod -R u+rw /home/pd/ >> $LOGFILE 2>&1
diff --git a/scripts/auto-build/run-automated-builder b/scripts/auto-build/run-automated-builder
index 80063a3f..f913f560 100755
--- a/scripts/auto-build/run-automated-builder
+++ b/scripts/auto-build/run-automated-builder
@@ -15,7 +15,7 @@ run_build_script ()
su pd -c "sh /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh" >> $LOGFILE 2>&1
- rsync -a ${LOGFILE} rsync://128.238.56.50/upload/${DATE}/
+ rsync -a ${LOGFILE} rsync://128.238.56.50/upload/${DATE}/logs/
# send status report if something failed
completion_test=`tail -1 ${LOGFILE}`