#! /bin/sh

# This wrapper script frees the use of slsh from clashes with important
# slsh variables that may be defined w/in the end-user's environment,
# and is safer than usages like
#	unset SLSH_CONF_DIR && unset SLSH_PATH && slsh
# because if either variable is not defined within the environment then
# slsh may never be invoked (because the unset will not return true)

unset SLSH_CONF_DIR
unset SLSH_PATH
if [ $# -lt 1 ] ; then
   echo "Usage: `basename $0` path_to_slsh_exe [ args ] "
   exit 1
fi
slsh_exe=$1
shift
exec $slsh_exe $@
