From 503c2aa9a30ed484d9f41b415af6ec0f9ca93353 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 31 Aug 2018 15:42:58 -0400 Subject: SL-957: Pass an absolute pathname to CMake for VIEWER_SYMBOL_FILE. --- build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index d6a6d7aca8..de7e474479 100755 --- a/build.sh +++ b/build.sh @@ -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 -- cgit v1.2.3