mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
patchShebangs: quote variable assignment
This commit is contained in:
parent
ff3e7d2b4b
commit
d43bde5f2b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ patchShebangs() {
|
|||
fi
|
||||
|
||||
# Strip trailing whitespace introduced when no arguments are present
|
||||
newInterpreterLine=$(echo "$newPath $args" | sed 's/[[:space:]]*$//')
|
||||
newInterpreterLine="$(echo "$newPath $args" | sed 's/[[:space:]]*$//')"
|
||||
|
||||
if [ -n "$oldPath" -a "${oldPath:0:${#NIX_STORE}}" != "$NIX_STORE" ]; then
|
||||
if [ -n "$newPath" -a "$newPath" != "$oldPath" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue