mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: sshuttle: Rely on $PATH to find a POSIX sh.
This fixes a regression introduced in commit
c32863e094
, where the sshuttle client
will try to invoke its own /gnu/store/.../bin/sh on the server.
Rely on $PATH instead of regressing to upstream's hard-coded /bin/sh.
* gnu/packages/vpn.scm (sshuttle)[arguments]: SUBSTITUTE* "sh" for
"/bin/sh".
This commit is contained in:
parent
f2bc53af70
commit
0e2d3ce20e
1 changed files with 1 additions and 2 deletions
|
@ -355,8 +355,7 @@ (define-public sshuttle
|
|||
(substitute* "sshuttle/client.py"
|
||||
(("/usr/bin/env") (which "env")))
|
||||
(substitute* "sshuttle/ssh.py"
|
||||
;; Perhaps this is unreachable, but don't let's take risks.
|
||||
(("/bin/sh") (which "sh")))
|
||||
(("/bin/sh") "sh"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("python-setuptools-scm" ,python-setuptools-scm)
|
||||
|
|
Loading…
Reference in a new issue