mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
* Clean up calls to system().
This commit is contained in:
parent
76c9710091
commit
68ae953d8a
8 changed files with 26 additions and 26 deletions
|
@ -15,7 +15,7 @@ $binDir = "@bindir@" unless defined $binDir;
|
|||
my $tmpDir;
|
||||
do { $tmpDir = tmpnam(); }
|
||||
until mkdir $tmpDir, 0777;
|
||||
END { my $x = $?; system ("@coreutils@/rm", "-rf", $tmpDir); $? = $x; }
|
||||
END { my $x = $?; system("@coreutils@/rm", "-rf", $tmpDir); $? = $x; }
|
||||
|
||||
|
||||
# Unpack the NAR archive on standard input.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue