blob: b8390275c3ae5788c0c84e7707af1f00d13ca605 [file] [log] [blame]
david_williamsc2f548c2008-07-21 04:06:47 +00001#!/bin/sh
2
3# remember to leave no slashes on commonVariations in source command,
4# so that users path is used to find it (first). But, path on
5# commonComputedVariables means we expect to execute only our
6# version
7
8if [ -z $BUILD_INITIALIZED ]
9then
10# if releng_control not set, we assume we are already in releng_control directory
11 if [ -z $RELENG_CONTROL ]
12 then
13 RELENG_CONROL=`pwd`
14 fi
15 pushd .
16 cd ${RELENG_CONTROL}
17 source commonVariations.shsource
18 source ${RELENG_CONTROL}/commonComputedVariables.shsource
19 popd
20fi
21
22
david_williams0077a892008-09-15 06:41:41 +000023echo "Running ant at priority +10"
24exec nice --adjustment 10 "${RELENG_CONTROL}/ant.sh" "$@"