diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-08-05T00·31+0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-08-05T00·31+0000 |
commit | f1947cce9375745b63f7f0512fd1bd4a0f5c1639 (patch) | |
tree | 7ae39d529407990e4acd67d698860a5a3e140025 /scripts/download-using-manifests.pl.in | |
parent | 1854f84e830a5282ae1ad1d0c85ed641af6bcf33 (diff) |
prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts.
Diffstat (limited to 'scripts/download-using-manifests.pl.in')
-rw-r--r-- | scripts/download-using-manifests.pl.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in index 7514525261aa..382eb7c3ae4d 100644 --- a/scripts/download-using-manifests.pl.in +++ b/scripts/download-using-manifests.pl.in @@ -9,6 +9,7 @@ my $logFile = "@localstatedir@/log/nix/downloads"; open LOGFILE, ">>$logFile" or die "cannot open log file $logFile"; +delete $ENV{"NIX_ROOT"}; # Create a temporary directory. my $tmpDir; |