diff options
Diffstat (limited to 'scripts/auto-build/prep-auto-build-upload')
-rwxr-xr-x | scripts/auto-build/prep-auto-build-upload | 14 |
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}" + |