summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-03-29 11:56:18 +0200
committerDaiki Ueno <ueno@gnu.org>2018-03-29 14:34:35 +0200
commita711a578ba7a1775bdc20ea00fbbdb4f10f91d58 (patch)
tree74f3ec8141a03686b7659c2e9591bce0de436df9 /build
parentbfdd4372ff381ce234d357bb43636b86e6cc1e8f (diff)
build: Enable make check with wine
Diffstat (limited to 'build')
-rwxr-xr-xbuild/wine-wrapper.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/wine-wrapper.sh b/build/wine-wrapper.sh
new file mode 100755
index 0000000..a339956
--- /dev/null
+++ b/build/wine-wrapper.sh
@@ -0,0 +1,13 @@
+#/bin/sh
+
+: ${WINE=wine}
+export WINE
+
+case "$1" in
+ *.sh)
+ exec $1
+ ;;
+ *)
+ ${WINE} $1 | tr -d '\r'
+ ;;
+esac