about summary refs log tree commit diff
path: root/scripts/download-using-manifests.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-02T15·29+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-02T15·29+0000
commite839802720af75e5af321b46a3921695ed696e79 (patch)
tree7aa5cb40dd481d52d1e529891b746c32a5bf89d5 /scripts/download-using-manifests.pl.in
parent4bbbe25802ee5d625d05b9566bcc488b93974692 (diff)
* Don't do a chdir to $tmpDir. It's not necessary, and Windows doesn't
  support deleting the current directory.

Diffstat (limited to 'scripts/download-using-manifests.pl.in')
-rw-r--r--scripts/download-using-manifests.pl.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in
index 0c7f8250fdc9..128cf579371c 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";