]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3757: build: fix configure_cmake.sh 'too many arguments' error
authorRuss Combs (rucombs) <rucombs@cisco.com>
Tue, 7 Feb 2023 19:25:30 +0000 (19:25 +0000)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Tue, 7 Feb 2023 19:25:30 +0000 (19:25 +0000)
Merge in SNORT/snort3 from ~RUCOMBS/snort3:jem_tcm to master

Squashed commit of the following:

commit 52e2b486adf8562f5c6578a0ab44d6ce3846dcf2
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue Feb 7 10:00:51 2023 -0500

    build: fix configure_cmake.sh 'too many arguments' error

configure_cmake.sh

index fae15e4184a5ef62c4a0cdf22305cd03ec17df39..ca787dc066267dc451e19b813d805670ac96edfa 100755 (executable)
@@ -483,7 +483,7 @@ while [ $# -ne 0 ]; do
     shift
 done
 
-if [ $tcm -eq 1 -a $jem -eq 1 ] ; then
+if [ "$tcm" -eq 1 -a "$jem" -eq 1 ] ; then
     echo "--enable-tcmalloc and --enable-tcmalloc are mutually exclusive; enable at most one"
     exit 2
 fi