From: Uwe Köcher Date: Tue, 29 May 2018 13:43:46 +0000 (+0200) Subject: fix: bash on macos X-Git-Tag: v9.0.0~11^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e46f3cd8b51208c83965d41962f19a80d30f1dfa;p=candi.git fix: bash on macos --- diff --git a/deal.II-toolchain/packages/parmetis.package b/deal.II-toolchain/packages/parmetis.package index b4047e4..2a4ec83 100644 --- a/deal.II-toolchain/packages/parmetis.package +++ b/deal.II-toolchain/packages/parmetis.package @@ -36,10 +36,12 @@ package_specific_build() { } package_specific_patch () { - if [ ${PLATFORM_OSTYPE} == linux && ${VERSION} == "4.0.3" ]; then - cd ${UNPACK_PATH}/${EXTRACTSTO} - cecho ${WARN} "applying patch for building METIS shared libraries" - patch -p0 --forward < ${ORIG_DIR}/${PROJECT}/patches/parmetis-4.0.3-build.patch || true + if [ ${PLATFORM_OSTYPE} == linux ]; then + if [ ${VERSION} == "4.0.3" ]; then + cd ${UNPACK_PATH}/${EXTRACTSTO} + cecho ${WARN} "applying patch for building METIS shared libraries" + patch -p0 --forward < ${ORIG_DIR}/${PROJECT}/patches/parmetis-4.0.3-build.patch || true + fi fi }