net/sfc: fix typo in preprocessor check
[dpdk.git] / devtools / test-meson-builds.sh
index 79109b7..3edc805 100755 (executable)
@@ -24,7 +24,7 @@ build () # <directory> <meson options>
 {
        builddir=$1
        shift
-       if [ ! -d "$builddir" ] ; then
+       if [ ! -f "$builddir/build.ninja" ] ; then
                options="--werror -Dexamples=all $*"
                echo "$MESON $options $srcdir $builddir"
                $MESON $options $srcdir $builddir