* Populate starting from the paths in the environment variable `dirs'.

svn path=/nixpkgs/trunk/; revision=467
This commit is contained in:
Eelco Dolstra 2003-11-03 14:52:29 +00:00
parent 4f79dcdfba
commit 9c9061eb67

View File

@ -61,12 +61,6 @@ sub addPkg {
}
foreach my $name (keys %ENV) {
next unless $name =~ /^act.*$/;
my $pkgdir = $ENV{$name};
next unless $pkgdir =~ /^\//;
foreach my $pkgdir ($ENV{"dirs"}) {
addPkg($pkgdir);
}