openbsd-ports/multimedia/devede/patches/patch-devede_executor_py
2010-03-21 10:48:10 +00:00

13 lines
719 B
Plaintext

$OpenBSD: patch-devede_executor_py,v 1.7 2010/03/21 10:48:10 ajacoutot Exp $
--- devede_executor.py.orig Mon Feb 1 23:41:26 2010
+++ devede_executor.py Mon Feb 8 08:56:11 2010
@@ -154,7 +154,7 @@ class executor:
if (sys.platform=="win32") or (sys.platform=="win64"):
pathlist=[os.path.join(wd[0],"bin"),os.path.join(os.getcwd(),"bin"), r'C:\WINDOWS', r'C:\WINDOWS\system32', r'C:\WINNT']
else:
- pathlist=["/usr/bin","/usr/local/bin","/usr/share/bin","/usr/share/local/bin","/bin",os.path.join(wd[0],"bin")]
+ pathlist=["${LOCALBASE}/bin","/usr/bin","/usr/local/bin","/usr/share/bin","/usr/share/local/bin","/bin",os.path.join(wd[0],"bin")]
print "Launching program: ",
for elemento in program: