* Handle $PATHs with spaces.
This commit is contained in:
parent
58b4198ed8
commit
c7d9397fc9
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ for i in \
|
||||||
done
|
done
|
||||||
|
|
||||||
# Another ugly hack.
|
# 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
|
chmod +x tmp
|
||||||
mv tmp $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh
|
mv tmp $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue