From: Magnus Jacobsson Date: Sat, 4 Sep 2021 13:32:11 +0000 (+0200) Subject: ci/build.sh: autotools: use OSTYPE to determine if on macOS X-Git-Tag: 2.49.1~39^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4d27864928fe075d84c941c371561de3e5cc76c;p=graphviz ci/build.sh: autotools: use OSTYPE to determine if on macOS OSTYPE is a built-in variable in bash and exists on all operating systems. --- diff --git a/ci/build.sh b/ci/build.sh index bbd2e47ac..0f71357af 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -48,7 +48,7 @@ else (cd graphviz-${GV_VERSION}; fakeroot make -f debian/rules binary) | tee >(ci/extract-configure-log.sh >${META_DATA_DIR}/configure.log) mv *.deb ${DIR}/os/${ARCH}/ mv *.ddeb ${DIR}/debug/${ARCH}/ - elif [ "${ID}" = "Darwin" ]; then + elif [[ "${OSTYPE}" =~ "darwin" ]]; then ./autogen.sh ./configure --prefix=$( pwd )/build --with-quartz=yes make