david_williams | 8243960 | 2008-01-02 19:28:16 +0000 | [diff] [blame^] | 1 | #!/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 | |
| 8 | if [ -n $BUILD_INITIALIZED ] |
| 9 | then |
david_williams | 39c5f65 | 2008-01-02 07:08:39 +0000 | [diff] [blame] | 10 | pushd . |
| 11 | cd ${RELENG_CONTROL} |
| 12 | source commonVariations.shsource |
| 13 | source ${RELENG_CONTROL}/commonComputedVariables.shsource |
| 14 | popd |
david_williams | 8243960 | 2008-01-02 19:28:16 +0000 | [diff] [blame^] | 15 | fi |
| 16 | |
| 17 | |
| 18 | ANT_CMD=${ANT_HOME}/bin/ant |
| 19 | |
| 20 | exec "$ANT_CMD" "$@" |
| 21 | |