Skip to content
Snippets Groups Projects
Commit 5cd1ad04 authored by Andrew Heather's avatar Andrew Heather
Browse files

Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop

parents bc167858 13c3b1d6
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ Executing $Script is equivalent to
wmake -all [OPTIONS]
With these additional options:
-l | -log
-l | -log | -log=name
USAGE
......@@ -78,7 +78,12 @@ do
fromWmake=true
;;
-l | -log)
optLog=true
optLog="log.Allwmake"
continue # Permanently remove arg
;;
-log=*)
optLog="${arg##*=}"
[ -n "$optLog" ] || optLog="log.Allwmake"
continue # Permanently remove arg
;;
-q | -queue)
......@@ -106,8 +111,8 @@ then
then
exec wmake -all $optQueue $*
else
echo "logging wmake -all output to 'log.Allwmake'" 1>&2
exec wmake -all $optQueue $* 2>&1 | tee log.Allwmake
echo "logging wmake -all output to '$optLog'" 1>&2
exec wmake -all $optQueue $* 2>&1 | tee $optLog
fi
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment