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-pack-closure.in | |
parent | 76c971009149f73453ccec66392625f2b67f8785 (diff) |
* Clean up calls to system().
Diffstat (limited to 'scripts/nix-pack-closure.in')
-rw-r--r-- | scripts/nix-pack-closure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-pack-closure.in b/scripts/nix-pack-closure.in index a29f12021525..ebf7164075cb 100644 --- a/scripts/nix-pack-closure.in +++ b/scripts/nix-pack-closure.in @@ -17,7 +17,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; } mkdir "$tmpDir/contents", 0777 or die; mkdir "$tmpDir/references", 0777 or die; mkdir "$tmpDir/derivers", 0777 or die; |