diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-20T16·23+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-20T16·23+0000 |
commit | 1b804f88e44e7f6760e9c43e329a8a6eb368c52e (patch) | |
tree | 11453454720adfa4ce0355d33502fc65602a95fa /scripts/nix-pack-closure.in | |
parent | 0623359fbc67c421bf76b7433f92c7ef58050321 (diff) |
* Absolute path to rm (NIX-51).
* Don't hardcore /nix/bin and /nix/store.
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 ccc5f7eb886c..97de927bfcd0 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 { system "rm -rf '$tmpDir'"; } +END { system "@coreutils@/rm -rf '$tmpDir'"; } mkdir "$tmpDir/contents", 0777 or die; mkdir "$tmpDir/references", 0777 or die; mkdir "$tmpDir/derivers", 0777 or die; |