* Handle $PATHs with spaces.
This commit is contained in:
parent
58b4198ed8
commit
c7d9397fc9
|
@ -65,7 +65,7 @@ for i in \
|
|||
done
|
||||
|
||||
# Another ugly hack.
|
||||
sed "s|^$|PATH=$PATH|" < $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh > tmp
|
||||
sed "s|^$|PATH='$PATH'|" < $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh > tmp
|
||||
chmod +x tmp
|
||||
mv tmp $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue