mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +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)
|
my $tmpDir = tempdir("nix-download.XXXXXX", CLEANUP => 1, TMPDIR => 1)
|
||||||
or die "cannot create a temporary directory";
|
or die "cannot create a temporary directory";
|
||||||
|
|
||||||
chdir $tmpDir or die "cannot change to `$tmpDir': $!";
|
|
||||||
|
|
||||||
my $tmpNar = "$tmpDir/nar";
|
my $tmpNar = "$tmpDir/nar";
|
||||||
my $tmpNar2 = "$tmpDir/nar2";
|
my $tmpNar2 = "$tmpDir/nar2";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue