mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamSourceFiles allow through bin/tools subdir only
- filter out other subdirs, which could be architecture-specific
This commit is contained in:
@ -49,6 +49,12 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# special handling for the bin/ directory:
|
||||||
|
# allow through bin/tools sub-directory, but filter out others
|
||||||
|
# which are likely architecture-specific binaries
|
||||||
|
#
|
||||||
|
|
||||||
find -H $packDir \
|
find -H $packDir \
|
||||||
! -type d \
|
! -type d \
|
||||||
\( -type f -o -type l \) \
|
\( -type f -o -type l \) \
|
||||||
@ -70,7 +76,8 @@ find -H $packDir \
|
|||||||
-e '\@/\.tags/@d' \
|
-e '\@/\.tags/@d' \
|
||||||
-e '\@/\README\.org@d' \
|
-e '\@/\README\.org@d' \
|
||||||
-e '\@applications/bin/@d' \
|
-e '\@applications/bin/@d' \
|
||||||
-e '\@wmake/bin/@d' \
|
-e '\@bin/.*/@{\@bin/tools@!d}' \
|
||||||
|
-e '\@wmake/bin/.*/@{\@wmake/bin/tools@!d}' \
|
||||||
-e '\@/t/@d' \
|
-e '\@/t/@d' \
|
||||||
-e '\@/Make[.A-Za-z]*/[^/]*/@d'\
|
-e '\@/Make[.A-Za-z]*/[^/]*/@d'\
|
||||||
-e '\@/platforms/@d' \
|
-e '\@/platforms/@d' \
|
||||||
|
|||||||
Reference in New Issue
Block a user