#!/bin/shset -e
djgpp_prefix=/usr/i686-pc-msdosdjgpp# run it in a custom WINEPREFIX to not mess with default ~/.wineif!test -d"${WINEPREFIX}"thenexport WINEPREFIX=~/.wine-i686-pc-msdosdjgppfi# WINEPATH is used to find dlls, otherwise they should lie next to the exeiftest -z"${WINEPATH}"thenexport WINEPATH=${djgpp_prefix}/bin
fi
wine "$@"