diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-02 15:29:18 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-02 15:29:18 +0000 |
commit | e839802720af75e5af321b46a3921695ed696e79 (patch) | |
tree | 7aa5cb40dd481d52d1e529891b746c32a5bf89d5 | |
parent | 4bbbe25802ee5d625d05b9566bcc488b93974692 (diff) |
* Don't do a chdir to $tmpDir. It's not necessary, and Windows doesn't
support deleting the current directory.
-rw-r--r-- | scripts/download-using-manifests.pl.in | 2 |
1 files changed, 0 insertions, 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"; |