aboutsummaryrefslogtreecommitdiff
path: root/net/straw/files/patch-src::straw
blob: 4c08834656f4cd33086346bc4edb5242ac0eb817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/straw.orig	Tue Feb 17 13:37:00 2004
+++ src/straw	Tue Feb 17 13:37:50 2004
@@ -20,13 +20,14 @@
             return sd
     h, t = os.path.split(os.path.split(os.path.abspath(sys.argv[0]))[0])
     if t == 'bin':
-        libdir = os.path.join(h, 'lib')
+        libdir = os.path.join(h, 'share', 'gnome')
         fp = os.path.join(libdir, 'straw')
         if os.path.isdir(fp):
             return libdir
     raise "FileNotFoundError", "couldn't find straw library dir"
 
 sys.path.insert(0, find_straw_lib())
+sys.path.insert(0, '%%PYTHON_SITELIBDIR%%')
 
 import straw