buildEnv: Fix handling of empty list of packages

This commit is contained in:
Eelco Dolstra 2015-08-25 11:11:51 +02:00
parent 87789ac39d
commit e2a9541efc

View file

@ -29,9 +29,11 @@ sub isInPathsToLink {
# For each activated package, determine what symlinks to create.
my %symlinks;
$symlinks{""} = ["", 0]; # create root directory
my %priorities;
for my $p (@pathsToLink) {
$p = "" if $p eq "/";
$symlinks{$p} = ["", 0];
}
sub findFiles;