openbsd-ports/multimedia/devede/patches/patch-devede_executor_py
2011-11-27 16:53:55 +00:00

13 lines
719 B
Plaintext

$OpenBSD: patch-devede_executor_py,v 1.8 2011/11/27 16:53:55 ajacoutot Exp $
--- devede_executor.py.orig Sat Nov 26 14:51:25 2011
+++ devede_executor.py Sun Nov 27 17:47:18 2011
@@ -177,7 +177,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: