aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/prep-auto-build-upload
blob: f99fc11169adb4cf67f2d132ca15311e29b8ec0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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}"