From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-crypt/gorilla/files: gorilla-script-destdir.patch |
Date: | Sat, 28 Feb 2009 20:50:24 |
Message-Id: | E1LdW8c-0003je-MT@stork.gentoo.org |
1 | patrick 09/02/28 20:50:22 |
2 | |
3 | Added: gorilla-script-destdir.patch |
4 | Log: |
5 | Initial import. Fixes #140393. Ebuild contributed by Ben Timby |
6 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-crypt/gorilla/files/gorilla-script-destdir.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gorilla/files/gorilla-script-destdir.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gorilla/files/gorilla-script-destdir.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: gorilla-script-destdir.patch |
15 | =================================================================== |
16 | --- gorilla-1.4/gorilla.in 2006-07-14 13:29:33.000000000 -0400 |
17 | +++ gorilla-1.4/gorilla.in.new 2006-07-14 13:33:01.000000000 -0400 |
18 | @@ -1,10 +1,13 @@ |
19 | #! /bin/sh |
20 | # the next line restarts using wish \ |
21 | exec @wish@ "$0" ${1+"$@"} |
22 | + |
23 | set myName [info script] |
24 | +set myGorilla /opt/gorilla-1.4/gorilla.tcl |
25 | + |
26 | if {![catch { |
27 | set linkName [file readlink $myName] |
28 | }]} { |
29 | set myName $linkName |
30 | } |
31 | -source [file join [file dirname $myName] gorilla.tcl] |
32 | +source [file join [file dirname $myName] $myGorilla] |