blob: 81df2060eb44b7c1e99bf947e25c0d94d83f996a [file] [log] [blame]
#!/usr/bin/env bash
#
# remember to leave no slashes on commonVariations in source command,
# so that users path is used to find it (first). But, path on
# commonComputedVariables means we expect to execute only our
# version
if [ -z $BUILD_INITIALIZED ]
then
# if releng_control not set, we assume we are already in releng_control directory
if [ -z $RELENG_CONTROL ]
then
RELENG_CONROL=`pwd`
fi
pushd .
cd ${RELENG_CONTROL}
source commonVariations.shsource
source ${RELENG_CONTROL}/commonComputedVariables.shsource
popd
fi
# directory under releng for maps/dependencies.properties
export DEP_DIR=/galileo
echo "DEP_DIR: " $DEP_DIR
echo "Running ant at priority +11"
exec nice --adjustment 15 "${RELENG_CONTROL}/ant.sh" "$@"