summaryrefslogtreecommitdiff
path: root/netware/BUILD/mwldnlm
diff options
context:
space:
mode:
Diffstat (limited to 'netware/BUILD/mwldnlm')
-rwxr-xr-xnetware/BUILD/mwldnlm5
1 files changed, 4 insertions, 1 deletions
diff --git a/netware/BUILD/mwldnlm b/netware/BUILD/mwldnlm
index 28566fc5cb1..cc8c9e63c6e 100755
--- a/netware/BUILD/mwldnlm
+++ b/netware/BUILD/mwldnlm
@@ -5,4 +5,7 @@ set -e
args=" $*"
-wine --debugmsg -all -- mwldnlm $args
+# NOTE: Option 'pipefail' is not standard sh
+set -o pipefail
+wine --debugmsg -all -- mwldnlm $args | \
+perl -pe 's/\r//g; s/^\e.*\e(\[J|>)?//; s/[[^:print:]]//g'