diff options
author | Oz Linden <oz@lindenlab.com> | 2014-10-24 14:49:15 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-10-24 14:49:15 -0400 |
commit | 9bc7165e23fa72fa3d8ece2da0b54dfe128a4ce9 (patch) | |
tree | ad7eff591420cb3e016d70b1cb426bab1d98db95 | |
parent | 791839385b9a75995cc30e85d16c9b5efb7539e0 (diff) |
convert llphysicsextensions tpv package build to use new autobuild package --results-file option
-rwxr-xr-x | build.sh | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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="" |