mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
wmake/scripts/AllwmakeParseArguments: Avoid duplicate command message
when Allwmake is called from wmake -all
This commit is contained in:
@ -90,14 +90,6 @@ do
|
||||
done
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Print command
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
[ -z "$targetType" ] || targetSpace=" "
|
||||
echo "$Script $targetType$targetSpace$(echo $PWD | sed s%$WM_PROJECT_DIR/%% )"
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Execute wmake -all if not called from wmake
|
||||
#------------------------------------------------------------------------------
|
||||
@ -105,6 +97,10 @@ echo "$Script $targetType$targetSpace$(echo $PWD | sed s%$WM_PROJECT_DIR/%% )"
|
||||
if [ -z "$fromWmake" ]
|
||||
then
|
||||
exec wmake -all $qOpt $*
|
||||
else
|
||||
# Print command
|
||||
[ -z "$targetType" ] || targetSpace=" "
|
||||
echo "$Script $targetType$targetSpace$(echo $PWD | sed s%$WM_PROJECT_DIR/%% )"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user