diff --git a/bin/foamPackSource b/bin/foamPackSource index 59772a9e50..519d18929d 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 26c165a36a..484c0c1e4b 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