Browse Source

do not error out when needed tools are missing

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 2 years ago
parent
commit
ff37753060
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 5 additions and 13 deletions
  1. +5
    -13
      setup/env.sh

+ 5
- 13
setup/env.sh View File

@@ -212,19 +212,11 @@ fi
# ---------------------------------------------------------------------------------------------------------------------
# find needed programs

if [ -z "${SOURCING_FILES}" ]; then
set +e
fi

autoconf=$(command -v autoconf)
cmake=$(command -v cmake)
jq=$(command -v jq)
meson=$(command -v meson)
ninja=$(command -v ninja)

if [ -z "${SOURCING_FILES}" ]; then
set -e
fi
autoconf=$(command -v autoconf || true)
cmake=$(command -v cmake || true)
jq=$(command -v jq || true)
meson=$(command -v meson || true)
ninja=$(command -v ninja || true)

if [ -z "${autoconf}" ] && [ -e "/opt/homebrew/bin/autoconf" ]; then
autoconf="/opt/homebrew/bin/autoconf"


Loading…
Cancel
Save