diff --git a/tests/compile.sh b/tests/compile.sh index 8702efe135..34d9b79d9b 100755 --- a/tests/compile.sh +++ b/tests/compile.sh @@ -40,7 +40,7 @@ fi BUILD_NAME=fv3${COMPILE_NR} PATHTR=${PATHTR:-$( cd ${MYDIR}/.. && pwd )} -BUILD_DIR=$(pwd)/build_${BUILD_NAME} +BUILD_DIR=${BUILD_DIR:-$(pwd)/build_${BUILD_NAME}} # ---------------------------------------------------------------------- # Make sure we have reasonable number of threads.