#!/bin/sh if [[ "$1" =~ ^[[:digit:]]+$ ]]; then if [ "$1" == "0" ]; then shift exec /usr/local/src/wine-0.9/wine "$@" else V=$1 shift exec /usr/local/src/wine-0.9.$V/wine "$@" fi else exec /usr/local/src/wine.git-build/wine "$@" fi