SL-957: Pass an absolute pathname to CMake for VIEWER_SYMBOL_FILE.

master
Nat Goodspeed 2018-08-31 15:42:58 -04:00
parent 392bf44a1f
commit 503c2aa9a3
1 changed files with 4 additions and 2 deletions

View File

@ -116,8 +116,10 @@ pre_build()
symplat="linux"
;;
esac
# This name is consumed by indra/newview/CMakeLists.txt
VIEWER_SYMBOL_FILE="$build_dir/newview/$variant/secondlife-symbols-$symplat-${AUTOBUILD_ADDRSIZE}.tar.bz2"
# This name is consumed by indra/newview/CMakeLists.txt. Make it
# absolute because we've had troubles with relative pathnames.
abs_build_dir="$(cd "$build_dir"; pwd)"
VIEWER_SYMBOL_FILE="$abs_build_dir/newview/$variant/secondlife-symbols-$symplat-${AUTOBUILD_ADDRSIZE}.tar.bz2"
fi
# don't spew credentials into build log