blob: 4138e4b991f1aaeb67578afb366f1942875ace6d [file] [log] [blame]
#! /bin/bash
case "$1" in
*.exe)
fccwd=`pwd`
cd $(IFS=:;for i in $PATH; do echo $i|grep mingw> /dev/null; [ $? -eq 0 ] && echo $i; done)
/usr/bin/env wine $fccwd/$@
;;
*)
$@
;;
esac