[dpdk-stable] [PATCH 3/3] devtools/test-meson-builds: fix bash-isms

Bruce Richardson bruce.richardson at intel.com
Wed Apr 10 22:52:24 CEST 2019


The use of "==" is non-standard extension from bash, so use "="
for comparisons instead.

CC: stable at dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 devtools/test-meson-builds.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh
index 0b14030..17680f8 100755
--- a/devtools/test-meson-builds.sh
+++ b/devtools/test-meson-builds.sh
@@ -46,9 +46,9 @@ build () # <directory> <meson options>
 	fi
 }
 
-if [ "$1" == "-vv" ] ; then
+if [ "$1" = "-vv" ] ; then
 	TEST_MESON_BUILD_VERY_VERBOSE=1
-elif [ "$1" == "-v" ] ; then
+elif [ "$1" = "-v" ] ; then
 	TEST_MESON_BUILD_VERBOSE=1
 fi
 
-- 
1.8.3.1



More information about the stable mailing list