From f1947cce9375745b63f7f0512fd1bd4a0f5c1639 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sat, 5 Aug 2006 00:31:04 +0000 Subject: prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts. --- scripts/download-using-manifests.pl.in | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/download-using-manifests.pl.in') 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; -- cgit 1.4.1