diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-21 18:54:08 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-21 18:54:08 +0000 |
commit | 0bd5eb71a0a23b27a02af591ba46e4cf2c34aa04 (patch) | |
tree | 46e32a4eee45d30bcb2d5f780fe9ccd3bb41552d /scripts/nix-unpack-closure.in | |
parent | 4e91d8621f6620f8b15535002309882fd7794a1f (diff) | |
download | guix-0bd5eb71a0a23b27a02af591ba46e4cf2c34aa04.tar.gz |
* `nix-install-package --url': install from a URL (NIX-12).
* `nix-install-package --help' (NIX-9). * `nix-install-package --non-interactive': don't prompt or pause. * Tests for nix-install-package. * Security fixes: filter the values obtained from the nixpkg.
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 2c9b4873af..01e8ee30d2 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 { system "@coreutils@/rm -rf '$tmpDir'"; } +END { my $x = $?; system ("@coreutils@/rm", "-rf", $tmpDir); $? = $x; } # Unpack the NAR archive on standard input. |