From: Russ Combs (rucombs) Date: Tue, 7 Feb 2023 19:25:30 +0000 (+0000) Subject: Pull request #3757: build: fix configure_cmake.sh 'too many arguments' error X-Git-Tag: 3.1.55.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45c240a0af9b901f81326ce4afaa0a4517ae31c;p=thirdparty%2Fsnort3.git Pull request #3757: build: fix configure_cmake.sh 'too many arguments' error Merge in SNORT/snort3 from ~RUCOMBS/snort3:jem_tcm to master Squashed commit of the following: commit 52e2b486adf8562f5c6578a0ab44d6ce3846dcf2 Author: Russ Combs Date: Tue Feb 7 10:00:51 2023 -0500 build: fix configure_cmake.sh 'too many arguments' error --- diff --git a/configure_cmake.sh b/configure_cmake.sh index fae15e418..ca787dc06 100755 --- a/configure_cmake.sh +++ b/configure_cmake.sh @@ -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