Blob Blame History Raw
#!/bin/sh

PROG_NAME=`basename $0`

for i in x nox; do
  [ -x "/usr/bin/${PROG_NAME}-$i" ] && exec -a ${PROG_NAME} /usr/bin/${PROG_NAME}-$i "$@"
done

echo "Can't find $PROG_NAME" 1>&2
exit 1