diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-29T21·53+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-29T21·53+0000 |
commit | c7d9397fc911997ff10192662bfdaf419167b142 (patch) | |
tree | 6782b18ddbadd6c98c9160b097683e36ac84b7bd /tests | |
parent | 58b4198ed8134ec246c0d0689ac46667fc389a97 (diff) |
* Handle $PATHs with spaces.
Diffstat (limited to 'tests')
-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 d49d57cede25..73d15fd3ad20 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 |