Skip to content

Commit

Permalink
buildtypes/meson: Remove check for meson
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pmenzel committed Jan 15, 2018
1 parent 7a6c1ff commit 3f7924c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions buildtypes/meson.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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%/*}
Expand Down

0 comments on commit 3f7924c

Please sign in to comment.