Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
b9be5a6f
Commit
b9be5a6f
authored
Dec 23, 2010
by
Mark Olesen
Browse files
ENH: foamSourceFiles allow through bin/tools subdir only
- filter out other subdirs, which could be architecture-specific
parent
312d15c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/foamSourceFiles
View file @
b9be5a6f
...
...
@@ -49,6 +49,12 @@ then
exit
1
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
\
!
-type
d
\
\(
-type
f
-o
-type
l
\)
\
...
...
@@ -70,7 +76,8 @@ find -H $packDir \
-e
'\@/\.tags/@d'
\
-e
'\@/\README\.org@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
'\@/Make[.A-Za-z]*/[^/]*/@d'
\
-e
'\@/platforms/@d'
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment