From e839802720af75e5af321b46a3921695ed696e79 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 2 Feb 2010 15:29:18 +0000 Subject: [PATCH] * Don't do a chdir to $tmpDir. It's not necessary, and Windows doesn't support deleting the current directory. --- scripts/download-using-manifests.pl.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in index 0c7f8250f..128cf5793 100644 --- a/scripts/download-using-manifests.pl.in +++ b/scripts/download-using-manifests.pl.in @@ -85,8 +85,6 @@ my $targetPath = $ARGV[1]; my $tmpDir = tempdir("nix-download.XXXXXX", CLEANUP => 1, TMPDIR => 1) or die "cannot create a temporary directory"; -chdir $tmpDir or die "cannot change to `$tmpDir': $!"; - my $tmpNar = "$tmpDir/nar"; my $tmpNar2 = "$tmpDir/nar2";