blob: 8a112b589bbb370ce0809f8e7487dcf1400532bc [file] [log] [blame]
#!/bin/sh
# 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
echo "Running ant at priority +3"
exec nice --adjustment 3 "${RELENG_CONTROL}/ant.sh" "$@"