diff --git a/bin/foamPackSource b/bin/foamPackSource index 59772a9e5082857da22c879c12a869b17c9e53e5..519d18929dea979894c366a2e5c16c8d35635ce3 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 26c165a36ae9a66a7744079cd567ebb86a861436..484c0c1e4b9251b718ac04bfe93e8e84d21c1536 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