Fixed patching shebang to be builder-defs style (startNest will be added on its own)
svn path=/nixpkgs/trunk/; revision=12049
This commit is contained in:
parent
7be33e7fd1
commit
60c2c8eefe
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ args: with args; with stringsWithDeps; with lib;
|
|||
# specified directory tree to paths found in $PATH. E.g.,
|
||||
# /bin/sh will be rewritten to /nix/store/<hash>-some-bash/bin/sh.
|
||||
# Interpreters that are already in the store are left untouched.
|
||||
header "patching script interpreter paths"
|
||||
echo "patching script interpreter paths"
|
||||
local f
|
||||
for f in $(find "${dir}" -type f -perm +0100); do
|
||||
local oldPath=$(sed -ne '1 s,^#![ ]*\([^ ]*\).*$,\1,p' "$f")
|
||||
|
|
Loading…
Reference in a new issue