You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
407 B

--- a/gorilla.in
+++ b/gorilla.in
@@ -1,10 +1,13 @@
#! /bin/sh
# the next line restarts using wish \
exec @wish@ "$0" ${1+"$@"}
+
set myName [info script]
+set myGorilla /opt/gorilla-1.4/gorilla.tcl
+
if {![catch {
set linkName [file readlink $myName]
}]} {
set myName $linkName
}
-source [file join [file dirname $myName] gorilla.tcl]
+source [file join [file dirname $myName] $myGorilla]