From: Zack Cerza Date: Thu, 14 Mar 2024 21:43:36 +0000 (-0600) Subject: do_cmake.sh: Use value of ARGS at runtime X-Git-Tag: v20.0.0~2376^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F56204%2Fhead;p=ceph.git do_cmake.sh: Use value of ARGS at runtime The "Building Ceph" section of README.md instructs the user to run: ARGS="-DCMAKE_C_COMPILER=gcc-7" ./do_cmake.sh But, very early on do_cmake.sh was doing ARGS="-GNinja", ignoring the existing value. Signed-off-by: Zack Cerza --- diff --git a/do_cmake.sh b/do_cmake.sh index 90f8a3381df..8177e726396 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -14,7 +14,7 @@ if [ -e $BUILD_DIR ]; then fi PYBUILD="3" -ARGS="-GNinja" +ARGS="${ARGS} -GNinja" if [ -r /etc/os-release ]; then source /etc/os-release case "$ID" in