mirror of
https://github.com/MariaDB/server.git
synced 2025-10-27 05:56:07 +03:00
19 lines
506 B
Bash
Executable File
19 lines
506 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# stop on errors
|
|
set -e
|
|
|
|
# If libtool passes "x" as the first argument to this script
|
|
# it's an indication that libtool is trying to unpack .la's
|
|
# so they can be added to a new library
|
|
# This step does not work on Netware and we avoid it by
|
|
# replacing the .la library with the path to the .a library
|
|
# in Makefile.in
|
|
|
|
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'
|