17 lines
177 B
Bash
17 lines
177 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
case "$1" in
|
||
|
*.exe)
|
||
|
OUTPUT="$(/usr/bin/env wine $@)"
|
||
|
STATUS=$?
|
||
|
|
||
|
echo "$OUTPUT" | sed 's/\r$//'
|
||
|
exit $STATUS
|
||
|
;;
|
||
|
|
||
|
*)
|
||
|
$@
|
||
|
exit $?
|
||
|
;;
|
||
|
esac
|