From e540e333f093483ef70c34246fd76dc9ef326b53 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Mon, 14 Nov 2016 12:37:52 +0000
Subject: [PATCH] wmake/scripts/AllwmakeParseArguments: Avoid duplicate command
 message

when Allwmake is called from wmake -all
---
 wmake/scripts/AllwmakeParseArguments | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/wmake/scripts/AllwmakeParseArguments b/wmake/scripts/AllwmakeParseArguments
index 74a7a52b6b..a985064eff 100644
--- a/wmake/scripts/AllwmakeParseArguments
+++ b/wmake/scripts/AllwmakeParseArguments
@@ -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
 
 
-- 
GitLab