summaryrefslogtreecommitdiff
path: root/build/wine-wrapper.sh
blob: a3399560c0c0465524a9ec6b8e44dd997cc4bc0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#/bin/sh

: ${WINE=wine}
export WINE

case "$1" in
	*.sh)
		exec $1
	;;
	*)
		${WINE} $1 | tr -d '\r'
	;;
esac