#!/bin/bash SHIPPY=`which shippy-sdl 2> /dev/null` if [ -z "$SHIPPY" ]; then SHIPPY=`which shippy-allegro 2> /dev/null` fi if [ -z "$SHIPPY" ]; then echo "error could find neither shippy-sdl nor shippy-allegro" exit 1 fi exec $SHIPPY "$@"