david_williams | d913e92 | 2006-11-13 07:24:21 +0000 | [diff] [blame] | 1 | #!/bin/sh |
david_williams | d913e92 | 2006-11-13 07:24:21 +0000 | [diff] [blame] | 2 | |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 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 | |
david_williams | ee75e9c | 2006-11-16 08:28:14 +0000 | [diff] [blame] | 8 | if [ -n $BUILD_INITIALIZED ] |
david_williams | e773c28 | 2006-11-14 07:48:16 +0000 | [diff] [blame] | 9 | then |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 10 | source commonVariations.shsource |
| 11 | source ${BUILD_HOME}/releng.control/commonComputedVariables.shsource |
david_williams | e773c28 | 2006-11-14 07:48:16 +0000 | [diff] [blame] | 12 | fi |
david_williams | d913e92 | 2006-11-13 07:24:21 +0000 | [diff] [blame] | 13 | |
david_williams | d913e92 | 2006-11-13 07:24:21 +0000 | [diff] [blame] | 14 | |
david_williams | d913e92 | 2006-11-13 07:24:21 +0000 | [diff] [blame] | 15 | ANT_CMD=${ANT_HOME}/bin/ant |
| 16 | |
david_williams | d913e92 | 2006-11-13 07:24:21 +0000 | [diff] [blame] | 17 | exec "$ANT_CMD" "$@" |
| 18 | |