* Populate starting from the paths in the environment variable `dirs'.
svn path=/nixpkgs/trunk/; revision=467
This commit is contained in:
parent
4f79dcdfba
commit
9c9061eb67
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user