From c7d9397fc911997ff10192662bfdaf419167b142 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 29 May 2006 21:53:58 +0000 Subject: [PATCH] * Handle $PATHs with spaces. --- tests/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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