Skip to content
Snippets Groups Projects
Commit 0a1300d8 authored by Henry Weller's avatar Henry Weller
Browse files

wmake: Updated '-q' option to work on Ubuntu and other 'dash'-based GNU/Linux distributions

parent 4fcdb0b4
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/bash
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
...@@ -335,13 +335,13 @@ if [ "$all" = "queue" ] ...@@ -335,13 +335,13 @@ if [ "$all" = "queue" ]
then then
[ -n "$update" ] || wmakeLnIncludeAll $parOpt [ -n "$update" ] || wmakeLnIncludeAll $parOpt
( \ (
WM_COLLECT_DIR=$WM_PROJECT_DIR/platforms/${WM_OPTIONS}/${PWD////_} \ export WM_COLLECT_DIR=$WM_PROJECT_DIR/platforms/${WM_OPTIONS}/${PWD////_}
WM_SCHEDULER=wmakeCollect \ WM_SCHEDULER=wmakeCollect
trap '$WM_SCHEDULER -kill' TERM INT; \ trap '$WM_SCHEDULER -kill' TERM INT
$WM_SCHEDULER -clean \ $WM_SCHEDULER -clean \
&& wmake -all objects \ && wmake -all objects \
&& $WM_SCHEDULER \ && $WM_SCHEDULER
) && wmake -all ) && wmake -all
exit $? exit $?
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment