From 1bc24ee3b87d7bf97d6d7f606c52d952205b24b8 Mon Sep 17 00:00:00 2001
From: henry <Henry Weller h.weller@opencfd.co.uk>
Date: Thu, 16 Oct 2008 21:50:09 +0100
Subject: [PATCH] Removed the host prefix as this inhibits correct error
 parsing by intelligent editors.

---
 wmake/wmakeScheduler | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/wmake/wmakeScheduler b/wmake/wmakeScheduler
index a4c88624abc..1a296239e7e 100755
--- a/wmake/wmakeScheduler
+++ b/wmake/wmakeScheduler
@@ -163,18 +163,6 @@ colourPipe()
 }
 
 
-#
-# prefix message with [HOSTNAME]
-#
-prefixPipe()
-{
-   while read line
-   do
-      echo "[$@] $line"
-   done
-}
-
-
 colourIndex=0
 
 while :
@@ -210,11 +198,11 @@ do
                retval=$?
             else
                if [ "$host" = "$HOST" ]; then
-                  eval $* 2>&1 | prefixPipe "$host"
+                  eval $* 2>&1
                elif [ -n "$JOB_ID" ]; then
-                  qrsh -inherit -v PWD $host "$rcmd" | prefixPipe "$host"
+                  qrsh -inherit -v PWD $host "$rcmd"
                else
-                  ssh $host "$sourceFoam 2>/dev/null; cd $PWD && $rcmd" 2>&1 | prefixPipe "$host"
+                  ssh $host "$sourceFoam 2>/dev/null; cd $PWD && $rcmd" 2>&1
                fi
                retval=$?
             fi
-- 
GitLab