about summary refs log tree commit diff
path: root/scripts/install-nix-from-closure.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-02-22T17·00-0500
committerShea Levy <shea@shealevy.com>2015-02-22T17·00-0500
commit47bdc52c1bf7bcec0ea1b685cf4c22b6b93be06d (patch)
tree1540487003c6837152f8a8507b36aa4d9704da3c /scripts/install-nix-from-closure.sh
parenta8494de0be0a705fc379ea35531d60386dc25132 (diff)
parentd53735c82333b7034ef9d7861c7cb76dfc34efdc (diff)
Merge branch 'gh-476-fix-install-script' of git://github.com/jramnani/nix
sometimes cd prints to stdout
Diffstat (limited to 'scripts/install-nix-from-closure.sh')
-rw-r--r--scripts/install-nix-from-closure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh
index c9ba9a2a280a..a1d8608e4058 100644
--- a/scripts/install-nix-from-closure.sh
+++ b/scripts/install-nix-from-closure.sh
@@ -41,7 +41,7 @@ mkdir -p $dest/store
 
 echo -n "copying Nix to $dest/store..." >&2
 
-for i in $(cd $self/store && echo *); do
+for i in $(cd $self/store >/dev/null && echo *); do
     echo -n "." >&2
     i_tmp="$dest/store/$i.$$"
     if [ -e "$i_tmp" ]; then