Merge branch 'gh-476-fix-install-script' of git://github.com/jramnani/nix

sometimes cd prints to stdout
This commit is contained in:
Shea Levy 2015-02-22 12:00:51 -05:00
commit 47bdc52c1b

View file

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