* Handle $PATHs with spaces.

This commit is contained in:
Eelco Dolstra 2006-05-29 21:53:58 +00:00
parent 58b4198ed8
commit c7d9397fc9
1 changed files with 1 additions and 1 deletions

View File

@ -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