diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-25T10·44+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-25T10·44+0000 |
commit | 68ae953d8a492061bcda7c4d7bf2f5b9432f791c (patch) | |
tree | d5e35a4fe76bf043539d8a49bb00e9e220fa364c /scripts/nix-unpack-closure.in | |
parent | 76c971009149f73453ccec66392625f2b67f8785 (diff) |
* Clean up calls to system().
Diffstat (limited to 'scripts/nix-unpack-closure.in')
-rw-r--r-- | scripts/nix-unpack-closure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-unpack-closure.in b/scripts/nix-unpack-closure.in index 01e8ee30d2e9..20fdef7594d2 100644 --- a/scripts/nix-unpack-closure.in +++ b/scripts/nix-unpack-closure.in @@ -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. |