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.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f97a16cfba2dbd4ccb34ab812ca14a98a8aa3d92;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 90f8a3381df36..8177e72639606 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