summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorChristian Goetze (CG) <cg@lindenlab.com>2011-03-16 12:30:41 -0700
committerChristian Goetze (CG) <cg@lindenlab.com>2011-03-16 12:30:41 -0700
commitc5ce29c871a28c90691eb7391a176c5e0cbead91 (patch)
tree58a07a431d268eb38440dc0675f18d7b003d0d87 /build.sh
parent918caee18e6f960c28457aa31382f107b2e17040 (diff)
Comment out setting of TMP, do not recompute AUTOBUILD if it is already defined.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh29
1 files changed, 16 insertions, 13 deletions
diff --git a/build.sh b/build.sh
index 625a09009b..86693a6fdb 100755
--- a/build.sh
+++ b/build.sh
@@ -119,23 +119,26 @@ fi
# First three parts only, $revision will be appended automatically.
build_viewer_update_version_manager_version=`python scripts/get_version.py --viewer-version | sed 's/\.[0-9]*$//'`
-export autobuild_dir="$here/../../../autobuild/bin/"
-if [ -d "$autobuild_dir" ]
+if [ -z "$AUTOBUILD" ]
then
- export AUTOBUILD="$autobuild_dir"autobuild
- if [ -x "$AUTOBUILD" ]
+ export autobuild_dir="$here/../../../autobuild/bin/"
+ if [ -d "$autobuild_dir" ]
then
- # *HACK - bash doesn't know how to pass real pathnames to native windows python
- case "$arch" in
- CYGWIN) AUTOBUILD=$(cygpath -u $AUTOBUILD.cmd) ;;
- esac
+ export AUTOBUILD="$autobuild_dir"autobuild
+ if [ -x "$AUTOBUILD" ]
+ then
+ # *HACK - bash doesn't know how to pass real pathnames to native windows python
+ case "$arch" in
+ CYGWIN) AUTOBUILD=$(cygpath -u $AUTOBUILD.cmd) ;;
+ esac
+ else
+ record_failure "Not executable: $AUTOBUILD"
+ exit 1
+ fi
else
- record_failure "Not executable: $AUTOBUILD"
+ record_failure "Not found: $autobuild_dir"
exit 1
fi
-else
- record_failure "Not found: $autobuild_dir"
- exit 1
fi
# load autbuild provided shell functions and variables
@@ -166,7 +169,7 @@ do
rm -rf "$build_dir"
mkdir -p "$build_dir"
mkdir -p "$build_dir/tmp"
- export TMP="$build_dir/tmp"
+ #export TMP="$build_dir/tmp"
if pre_build "$variant" "$build_dir" >> "$build_log" 2>&1
then
if $build_link_parallel