mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 16:17:27 +01:00
gnu: vpnc-scripts: Tighten substitution regex.
* gnu/packages/vpn.scm (vpnc-scripts)[arguments]: Do not substitute file names starting with /bin to preserve /bin/sh shebangs.
This commit is contained in:
parent
c67ee58c72
commit
92594b2e0f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ (define-public vpnc-scripts
|
|||
(for-each (lambda (script)
|
||||
(substitute* script
|
||||
(("^PATH=.*") "")
|
||||
(("(/usr|)/s?bin/") "")
|
||||
(("/usr/s?bin/") "")
|
||||
(("\\[ +-x +([^]]+) +\\]" _ command)
|
||||
(string-append "command -v >/dev/null 2>&1 "
|
||||
command))))
|
||||
|
|
Loading…
Reference in a new issue