blob: 4172dda9234bced3b3cb76dfd6523ba4c980eb0b [file] [log] [blame]
david_williamsc2f29802007-01-13 07:13:16 +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 [ -n $BUILD_INITIALIZED ]
9then
david_williams39c5f652008-01-02 07:08:39 +000010 pushd .
11 cd ${RELENG_CONTROL}
12 source commonVariations.shsource
13 source ${RELENG_CONTROL}/commonComputedVariables.shsource
14 popd
david_williamsc2f29802007-01-13 07:13:16 +000015fi
16
david_williamsc2f29802007-01-13 07:13:16 +000017
18ANT_CMD=${ANT_HOME}/bin/ant
19
20exec "$ANT_CMD" "$@"
21