openbsd-ports/multimedia/devede/patches/patch-devede_other_py
2007-11-17 11:06:14 +00:00

13 lines
668 B
Plaintext

$OpenBSD: patch-devede_other_py,v 1.1 2007/11/17 11:06:14 ajacoutot Exp $
--- devede_other.py.orig Sat Nov 17 11:48:11 2007
+++ devede_other.py Sat Nov 17 11:49:44 2007
@@ -70,7 +70,7 @@ def launch_program(program,salida=True):
curDir=sys.path[-1:] # Allow launching programs from local directory when use py2exe
pathlist=[]
if not sys.platform == 'win32':
- pathlist=["/usr/bin","/usr/local/bin","/usr/share/bin","/usr/share/local/bin","/bin"]
+ pathlist=["!!LOCALBASE!!/bin","/usr/bin","/usr/local/bin","/usr/share/bin","/usr/share/local/bin","/bin"]
else:
pathlist=[os.path.join(curDir[0],"bin"), r'C:\WINDOWS', r'C:\WINDOWS\system32', r'C:\WINNT']