Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
1bc24ee3
Commit
1bc24ee3
authored
Oct 16, 2008
by
henry
Browse files
Removed the host prefix as this inhibits correct error parsing by intelligent editors.
parent
298ddcbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
wmake/wmakeScheduler
View file @
1bc24ee3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment