diff options
author | David Williams | 2016-06-16 18:48:34 +0000 |
---|---|---|
committer | David Williams | 2016-06-16 18:48:34 +0000 |
commit | d657dbc2d4712b67d626b8e2925eea5174410ed1 (patch) | |
tree | 27723c61afb374e60f0efb0afc4f54b8baf97cac /production/master-build.sh | |
parent | 86871e5416483b2ca82f78028bc173d242aa1cb0 (diff) | |
download | eclipse.platform.releng.aggregator-d657dbc2d4712b67d626b8e2925eea5174410ed1.tar.gz eclipse.platform.releng.aggregator-d657dbc2d4712b67d626b8e2925eea5174410ed1.tar.xz eclipse.platform.releng.aggregator-d657dbc2d4712b67d626b8e2925eea5174410ed1.zip |
Bug 487044 - Migrate cron jobs to Releng HIPP -fine tuning scripts
Diffstat (limited to 'production/master-build.sh')
-rwxr-xr-x | production/master-build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/production/master-build.sh b/production/master-build.sh index cc9a9e0e4..411ce7681 100755 --- a/production/master-build.sh +++ b/production/master-build.sh @@ -27,8 +27,12 @@ if [ ! -r "$INITIAL_ENV_FILE" ]; then echo USAGE: $0 env_file exit 1 fi - -export SCRIPT_PATH="${BUILD_ROOT}/production" +if [[ "${RUNNING_ON_HUDSON}" == "true" ]] +then + export SCRIPT_PATH="${UTILITIES_HOME}" +else + export SCRIPT_PATH="${BUILD_ROOT}/production" +fi export PROMOTION_SCRIPT_PATH="$SCRIPT_PATH/sdk/promotion" source "${SCRIPT_PATH}/build-functions.shsource" |