aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-13 19:12:56 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-13 19:12:56 +0530
commite72bedd145f134226c94e72d9f1181d01d893309 (patch)
tree9417dd2ad05a1e5d14e5b411774e5927e7cff103
parent80f01c0d19c6e80065a652c539efff46d0840c41 (diff)
downloadl-a-b-VPS-e72bedd145f134226c94e72d9f1181d01d893309.tar.gz
Create build directory
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xnode/build2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/build b/node/build
index 58665f8..c628de1 100755
--- a/node/build
+++ b/node/build
@@ -85,8 +85,10 @@ if [ -z "$ramdisk_size" -o "$ramdisk_size" != "0" ]; then
fi
fi
+mkdir -p build
chown jenkins-build:nogroup -R build
cd build
+
sudo -E -H -u jenkins-build bash -xes "${BUILD_SCRIPT_ROOT}" "$@" <<\EOF
export BUILD_SCRIPT_ROOT="${1}"
HOST="${2}"