ModuleDirs files don't need TOP any more

This commit is contained in:
Andrew Johnson
2017-09-22 14:29:43 -05:00
parent 186a9f5329
commit cd8d8e6890

View File

@@ -149,10 +149,8 @@ sub binDirs {
return @path;
}
# FIXME: Instead of using TOP/lib/perl, this should use INSTALL_LOCATION/lib/perl
# to cover cases with remote installation location
sub moduleDirs {
my @deps = grep !m/^ (RULES | TEMPLATE_TOP) $/x, @apps;
my @deps = grep !m/^ (TOP | RULES | TEMPLATE_TOP) $/x, @apps;
my @dirs = grep {-d $_}
map { AbsPath("$macros{$_}/lib/perl") } @deps;
unlink $outfile;