openbsd-ports/devel/git-cola/patches/patch-cola_cmds_py
2011-03-09 18:15:23 +00:00

22 lines
844 B
Plaintext

$OpenBSD: patch-cola_cmds_py,v 1.1 2011/03/09 18:15:23 jasper Exp $
--- cola/cmds.py.orig Wed Mar 9 19:11:33 2011
+++ cola/cmds.py Wed Mar 9 19:12:25 2011
@@ -509,7 +509,7 @@ class OpenRepo(Command):
def do(self):
self.model.set_directory(self.new_directory)
- utils.fork(['python', sys.argv[0], '--repo', self.new_directory])
+ utils.fork(['${MODPY_BIN}', sys.argv[0], '--repo', self.new_directory])
class Clone(Command):
@@ -524,7 +524,7 @@ class Clone(Command):
self.model.git.clone(self.url, self.new_directory,
with_stderr=True, with_status=True)
if self.spawn:
- utils.fork(['python', sys.argv[0], '--repo', self.new_directory])
+ utils.fork(['${MODPY_BIN}', sys.argv[0], '--repo', self.new_directory])
class Rescan(Command):