diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-29 21:53:58 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-29 21:53:58 +0000 |
commit | c7d9397fc911997ff10192662bfdaf419167b142 (patch) | |
tree | 6782b18ddbadd6c98c9160b097683e36ac84b7bd | |
parent | 58b4198ed8134ec246c0d0689ac46667fc389a97 (diff) |
* Handle $PATHs with spaces.
-rw-r--r-- | tests/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh index d49d57ced..73d15fd3a 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -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 |