blob: e6840e781f8f228ead85ec9cefa848276987698f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/sh
# stop on errors
set -e
# mwccnlm is having a hard time understanding "-I./../include"
# convert it to "-I../include"
args=" "`echo $* | sed -e 's/-I.\/../-I../g'`
# 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'
|