From 30394a4f3f99ccfffb6935b47433c320f00e2a67 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 Mar 2007 13:49:20 +0000 Subject: [PATCH] * sh -> bash. --- scripts/nix-copy-closure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 13b9694656..b0fb1b2b8d 100644 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -62,7 +62,7 @@ while (@ARGV) { # Ask the remote host which paths are invalid. -open(READ, "ssh @sshOpts $sshHost sh --login -c '\"nix-store --check-validity --print-invalid @storePaths\"'|"); +open(READ, "ssh @sshOpts $sshHost bash --login -c '\"nix-store --check-validity --print-invalid @storePaths\"'|"); my @missing = (); while () { chomp; @@ -76,6 +76,6 @@ close READ or die; if (scalar @missing > 0) { my $extraOpts = ""; $extraOpts .= "--sign" if $sign == 1; - system("nix-store --export $extraOpts @missing | $compressor | ssh @sshOpts $sshHost sh --login -c '\"$decompressor | nix-store --import\"'") == 0 + system("nix-store --export $extraOpts @missing | $compressor | ssh @sshOpts $sshHost bash --login -c '\"$decompressor | nix-store --import\"'") == 0 or die "copying store paths to remote machine failed: $?"; }