Search PATH for git-shell, don't assume /usr/bin.
This commit is contained in:
parent
2a7f48f06e
commit
2c8eeb7d3b
1 changed files with 1 additions and 1 deletions
|
@ -118,5 +118,5 @@ def main():
|
||||||
command=command,
|
command=command,
|
||||||
newpath=newpath,
|
newpath=newpath,
|
||||||
)
|
)
|
||||||
os.execve('/usr/bin/git-shell', ['git-shell', '-c', newcmd], {})
|
os.execvpe('git-shell', ['git-shell', '-c', newcmd], {})
|
||||||
die("Cannot execute git-shell.")
|
die("Cannot execute git-shell.")
|
||||||
|
|
Loading…
Reference in a new issue