From 8d44313d2673051c748211bf2a8a7602d16d2e7c Mon Sep 17 00:00:00 2001 From: henry <Henry Weller h.weller@opencfd.co.uk> Date: Tue, 8 Jul 2008 23:07:42 +0100 Subject: [PATCH] Filter-out platforms directory from the source. Pack the linux-64 link for gcc. --- bin/foamPackSource | 1 + bin/foamPackThirdPartyBin | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/foamPackSource b/bin/foamPackSource index 59772a9e508..519d18929de 100755 --- a/bin/foamPackSource +++ b/bin/foamPackSource @@ -82,6 +82,7 @@ find -H $packDir \ -e '\@applications/bin/@d' \ -e '\@/t/@d' \ -e '\@Make[.A-Za-z]*/[^/]*/@d'\ + -e '\@/platforms/@d' \ > $tmpFile tar czpf $packFile --files-from $tmpFile diff --git a/bin/foamPackThirdPartyBin b/bin/foamPackThirdPartyBin index 26c165a36ae..484c0c1e4b9 100755 --- a/bin/foamPackThirdPartyBin +++ b/bin/foamPackThirdPartyBin @@ -41,6 +41,7 @@ then fi archOptions=$1 arch=${archOptions%%G*} +arch3264=$(echo "$arch" | sed 's@64@-64@') timeStamp=$(date +%Y-%m-%d) packDir=ThirdParty @@ -59,7 +60,7 @@ then fi # get list of directories -dirList=`find $packDir -type d -name $arch -o -type d -name $archOptions` +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 -- GitLab