From 63227d434cefaa9faeb14afe28ebeb9b2d449ee2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 3 Jan 2012 12:18:41 +0000 Subject: * FreeBSD tar defaults to the tape device instead of stdout. --- tests/nix-channel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/nix-channel.sh') diff --git a/tests/nix-channel.sh b/tests/nix-channel.sh index 1d7724e933..4819b57c91 100644 --- a/tests/nix-channel.sh +++ b/tests/nix-channel.sh @@ -24,7 +24,7 @@ rm -rf $TEST_ROOT/nixexprs mkdir -p $TEST_ROOT/nixexprs cp config.nix dependencies.nix dependencies.builder*.sh $TEST_ROOT/nixexprs/ ln -s dependencies.nix $TEST_ROOT/nixexprs/default.nix -(cd $TEST_ROOT && tar cv nixexprs) | bzip2 > $TEST_ROOT/foo/nixexprs.tar.bz2 +(cd $TEST_ROOT && tar cvf - nixexprs) | bzip2 > $TEST_ROOT/foo/nixexprs.tar.bz2 # Test the update action. nix-channel --add file://$TEST_ROOT/foo -- cgit 1.4.1