mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
* Don't do a chdir to $tmpDir. It's not necessary, and Windows doesn't
support deleting the current directory.
This commit is contained in:
parent
4bbbe25802
commit
e839802720
1 changed files with 0 additions and 2 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue