#!/bin/sh if [ ! -d ~/.xe/modules ] ; then mkdir -p ~/.xe/modules fi for f in GENTOODIR/modules/* do ln -s $f ~/.xe/modules/ 2> /dev/null done exec xe.bin "${@}"