david_williams | 2f53d7b | 2009-08-03 05:48:34 +0000 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 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 | |
| 8 | if [ -z $BUILD_INITIALIZED ] |
| 9 | then |
| 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 |
| 20 | fi |
| 21 | |
david_williams | 42d4265 | 2009-08-19 15:06:52 +0000 | [diff] [blame] | 22 | # directory under releng for maps/dependencies.properties |
david_williams | 400ac77 | 2009-08-03 16:52:32 +0000 | [diff] [blame] | 23 | export DEP_DIR=/helios |
david_williams | 07ae99f | 2009-08-03 18:57:03 +0000 | [diff] [blame] | 24 | echo "DEP_DIR: " $DEP_DIR |
david_williams | 42d4265 | 2009-08-19 15:06:52 +0000 | [diff] [blame] | 25 | echo "Running ant at priority +15" |
| 26 | exec nice --adjustment 15 "${RELENG_CONTROL}/ant.sh" "$@" |