From 3f7924ca7d9b20c2cd3e9202c8d867232c91aca7 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 Jan 2018 16:00:04 +0100 Subject: [PATCH] buildtypes/meson: Remove check for `meson` If the Meson executable is not found, an error will be thrown by the shell, so the check is not needed. Additionally, the environment could be changed in the bee file, so deterministically continue. --- buildtypes/meson.sh.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/buildtypes/meson.sh.in b/buildtypes/meson.sh.in index 5ee5984..b131c1d 100644 --- a/buildtypes/meson.sh.in +++ b/buildtypes/meson.sh.in @@ -27,10 +27,6 @@ if [ ! -r "${BEE_BUILDTYPE_MESON_MESONBUILD}" ] ; then return fi -if ! type -p meson >/dev/null 2>&1 ; then - return -fi - BEE_BUILDTYPE_DETECTED=meson BEE_BUILDTYPE_MESON_SOURCEDIR=${BEE_BUILDTYPE_MESON_MESONBUILD%/*}