--- gargoyle-2006-04-28-source/garglk/launcher.sh.orig 2006-05-17 12:05:48 +0400 +++ gargoyle-2006-04-28-source/garglk/launcher.sh 2006-05-17 12:07:10 +0400 @@ -1,23 +1,5 @@ - -# -# Darwin has install_name magic to find the dylib. -# ELF has no such provision, which makes it necessary -# to set LD_LIBRARY_PATH. -# - -if [ `uname` != Darwin ] -then - abspath=`readlink -f $0` # get the full path of this script - dirpath=`dirname $abspath` # get directory part - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$dirpath -else - dirpath=`dirname $0` -fi - -if [ x"$dirpath" == x ] -then - dirpath=. -fi +#!/bin/sh +dirpath=@TERPS_PATH@ # # Check the arguments