From 7be8bc1d06ff5ce16dc3725969be808334b46cfc Mon Sep 17 00:00:00 2001 From: henry Date: Mon, 21 Jul 2008 11:34:44 +0100 Subject: [PATCH] Changed packing for OpenMPI. Not by me, Chris/Mattijs? --- bin/foamPackThirdPartyBin | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/foamPackThirdPartyBin b/bin/foamPackThirdPartyBin index 484c0c1e4b..a229ebea9c 100755 --- a/bin/foamPackThirdPartyBin +++ b/bin/foamPackThirdPartyBin @@ -43,6 +43,10 @@ archOptions=$1 arch=${archOptions%%G*} arch3264=$(echo "$arch" | sed 's@64@-64@') +echo "archOptions=$archOptions" +echo "arch=$arch" +echo "arch3264=$arch3264" + timeStamp=$(date +%Y-%m-%d) packDir=ThirdParty packFile=${packDir}.${archOptions}_${timeStamp}.gtgz @@ -60,7 +64,7 @@ then fi # get list of directories -dirList=`find $packDir -type d -name $arch -o -type d -name $archOptions -o -type l -name $arch3264` +dirList=`find $packDir -type d -name $arch -o -type d -name $archOptions'*' -o -type l -name $arch3264` echo echo "Packing $archOptions port of $packDir into $packFile" echo