mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Filter-out platforms directory from the source.
Pack the linux-64 link for gcc.
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user