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