Skip to content
GitLab
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
13094c2a
Commit
13094c2a
authored
Dec 14, 2015
by
Henry Weller
Browse files
wcleanAll, wrmdep: Updated check for the WM_PROJECT_DIR
parent
3de4dcd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
wmake/wcleanAll
View file @
13094c2a
...
...
@@ -61,7 +61,8 @@ do
esac
done
[
-d
bin
-a
-d
src
]
||
usage
"not in the project top level directory"
[
"
$PWD
"
=
"
$WM_PROJECT_DIR
"
]
\
||
usage
"Not in the project top-level directory"
echo
"Removing platforms/sub-directories"
...
...
wmake/wrmdep
View file @
13094c2a
...
...
@@ -190,7 +190,8 @@ oldFolders)
updateMode
)
[
-d
bin
-a
-d
src
]
||
usage
"Not in the project top-level directory"
[
"
$PWD
"
=
"
$WM_PROJECT_DIR
"
]
\
||
usage
"Not in the project top-level directory"
echo
"Purging all dep files that relate to files that no longer exist..."
fileNameList
=
$(
find
-L
src applications
-name
'*.[CHL]'
-type
l
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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