devtools: fix bash-isms in meson test
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 10 Apr 2019 20:52:24 +0000 (21:52 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Apr 2019 15:16:47 +0000 (17:16 +0200)
The use of "==" is non-standard extension from bash, so use "="
for comparisons instead.

Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
devtools/test-meson-builds.sh

index c7bde2f..0ea79f4 100755 (executable)
@@ -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