summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-10-24 14:49:15 -0400
committerOz Linden <oz@lindenlab.com>2014-10-24 14:49:15 -0400
commit9bc7165e23fa72fa3d8ece2da0b54dfe128a4ce9 (patch)
treead7eff591420cb3e016d70b1cb426bab1d98db95
parent791839385b9a75995cc30e85d16c9b5efb7539e0 (diff)
convert llphysicsextensions tpv package build to use new autobuild package --results-file option
-rwxr-xr-xbuild.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 64181828aa..11455bff00 100755
--- a/build.sh
+++ b/build.sh
@@ -124,9 +124,15 @@ package_llphysicsextensions_tpv()
# capture the package file name for use in upload later...
PKGTMP=`mktemp -t pgktpv.XXXXXX`
trap "rm $PKGTMP* 2>/dev/null" 0
- "$AUTOBUILD" package --verbose --config-file $llpetpvcfg > $PKGTMP
+ "$AUTOBUILD" package --verbose --config-file $llpetpvcfg --results-file "$(native_path $PKGTMP)"
tpv_status=$?
- sed -n -e 's/^wrote *//p' $PKGTMP > $build_dir/llphysicsextensions_package
+ if [ -r "${PKGTMP}" ]
+ then
+ cat "${PKGTMP}" >> "$build_log"
+ eval $(cat "${PKGTMP}") # sets autobuild_package_{name,filename,md5}
+ autobuild_package_filename="$(shell_path "${autobuild_package_filename}")"
+ echo "${autobuild_package_filename}" > $build_dir/llphysicsextensions_package
+ fi
else
echo "Do not provide llphysicsextensions_tpv for $variant"
llphysicsextensions_package=""