aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/prep-auto-build-upload
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-07-31 04:42:45 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-07-31 04:42:45 +0000
commit8198c6066b52695ccbbde769293bc7b9d776f345 (patch)
treed34444ea2058d9810343749a9fc733ed9db5b9c3 /scripts/auto-build/prep-auto-build-upload
parent6879959a42e9691a2bf9cf319d1f4153409c06b0 (diff)
working scripts from compile farm master, pd-debian-stable
svn path=/trunk/; revision=5439
Diffstat (limited to 'scripts/auto-build/prep-auto-build-upload')
-rwxr-xr-xscripts/auto-build/prep-auto-build-upload14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/auto-build/prep-auto-build-upload b/scripts/auto-build/prep-auto-build-upload
new file mode 100755
index 00000000..f99fc111
--- /dev/null
+++ b/scripts/auto-build/prep-auto-build-upload
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# prepare a directory per date for the auto-builders to upload to
+
+DATE=`date +%Y-%m-%d`
+TIME=`date +%H.%M.%S`
+
+BUILD_ROOT="/var/www/auto-build"
+TODAYS_ROOT="${BUILD_ROOT}/${DATE}"
+
+chown -R root.root "${BUILD_ROOT}"
+mkdir "${TODAYS_ROOT}"
+chown nobody.nogroup "${TODAYS_ROOT}"
+