http://bugs.winehq.org/show_bug.cgi?id=10719
--- Comment #12 from yellow_onion@orcon.net.nz 2007-12-15 09:50:39 --- #! /bin/sh # Launch Wine app in its own directory # switches are not passed as of yet # path="`expr "$@" : '(.*)/'`" basename="`expr "//$@" : '.*/([^/]*)'`" cd "$path" wine $basename