mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
7455f8a31f
Use Perl for filtering, do more filtering
13 lines
340 B
Bash
Executable file
13 lines
340 B
Bash
Executable file
#! /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'
|