From c2c9ab6f0b6978bb357560ddb4ce421ae267a24b Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 7 Mar 2011 13:44:34 +0000 Subject: [PATCH] ENH: foamToTecplot: do not build if tecio not present --- .../dataConversion/foamToTecplot360/Allwmake | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake new file mode 100755 index 0000000000..99e4ccb477 --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake @@ -0,0 +1,11 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + +if [ ! -d ${WM_THIRD_PARTY_DIR}/tecio ] +then + echo "Did not find tecio in ${WM_THIRD_PARTY_DIR}. Not building foamToTecplot360." +else + wmake +fi + +# ----------------------------------------------------------------- end-of-file