patchShebangs: quote variable assignment
This commit is contained in:
parent
ff3e7d2b4b
commit
d43bde5f2b
@ -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…
Reference in New Issue
Block a user