~r0lf/gourmet/debian

« back to all changes in this revision

Viewing changes to patches/06-change-sys-path-append.patch

  • Committer: Rolf Leggewie
  • Date: 2008-11-28 08:14:48 UTC
  • Revision ID: foss@rolf.leggewie.biz-20081128081448-a4vb6mepw0cdhejh
06-change-sys-path-append.patch: add patch to change sys.path.append
sys.path.append('/usr/share') is potentially dangerous, replace with sys.path.append('/usr/share/gourmet')
change already committed to upstream, patch will become obsolete in next release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: gourmet-0.14.2/src/gourmet
 
2
===================================================================
 
3
--- gourmet-0.14.2.orig/src/gourmet     2008-11-24 10:37:25.000000000 +0100
 
4
+++ gourmet-0.14.2/src/gourmet  2008-11-24 10:37:34.000000000 +0100
 
5
@@ -8,7 +8,7 @@
 
6
 #signal.signal(signal.SIGINT, signal.SIG_DFL)
 
7
 import sys
 
8
 
 
9
-sys.path.append('/usr/share') # for debian
 
10
+sys.path.append('/usr/share/gourmet') # for debian
 
11
 
 
12
 from gourmet.OptionParser import *
 
13