#!/bin/sh

prefix="/usr/local/sourcenav"
exec_prefix="${prefix}"
bindir="${prefix}/libexec/snavigator"
datarootdir="${prefix}/share"
datadir="${datarootdir}"
etcdir="$datadir/snavigator/etc"

if test "$SN_HOME" = ""; then
   SN_HOME="$prefix"
   export SN_HOME
fi

TCL_LIBRARY=$SN_HOME/share/tcl8.3
export TCL_LIBRARY

exec "$bindir/hyper" -file "$etcdir/snscenario" "--" -home "$prefix" ${1+"$@"}
