2003-02-18 23:48:04 +01:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-04-25 00:15:52 +02:00
|
|
|
# stop on errors
|
|
|
|
set -e
|
|
|
|
|
2006-10-24 13:12:34 +02:00
|
|
|
# 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
|
|
|
|
|
2003-02-18 23:48:04 +01:00
|
|
|
args=" $*"
|
|
|
|
|
2006-07-03 16:44:17 +02:00
|
|
|
# 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'
|