aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/prep-auto-build-upload
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-22 13:49:35 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-22 13:49:35 +0000
commit42f650de364de7f858d43827ee3bc2976d4085ac (patch)
tree261e3380769a9267a1d9b5415ada39659d73bc83 /scripts/auto-build/prep-auto-build-upload
parent5975fb802a87775c180c6132f08a12765cc726de (diff)
moved log files to a subdir for each day
svn path=/trunk/; revision=5709
Diffstat (limited to 'scripts/auto-build/prep-auto-build-upload')
-rwxr-xr-xscripts/auto-build/prep-auto-build-upload11
1 files changed, 6 insertions, 5 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