From 9da8604579ba5b8064af72ce87481d41c6bbac47 Mon Sep 17 00:00:00 2001 From: openfoam-maintainance Date: Wed, 6 Oct 2010 14:34:17 +0200 Subject: [PATCH] Now PV3Reader compiles under Linux .... again --HG-- branch : macMerge --- .../utilities/postProcessing/graphics/PV3FoamReader/Allwmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake b/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake index 452d0dedd..3c5173884 100755 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/Allwmake @@ -12,7 +12,7 @@ then mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1 cd Make/$WM_OPTIONS cmake ../.. - if [ $WM_ARCH_BASE == "darwin" ] + if [ "$WM_ARCH_BASE" == "darwin" ] then sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader.dir/link.txt sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader_SM.dir/link.txt