buildEnv: Fix handling of empty list of packages
This commit is contained in:
parent
87789ac39d
commit
e2a9541efc
|
@ -29,9 +29,11 @@ sub isInPathsToLink {
|
||||||
# For each activated package, determine what symlinks to create.
|
# For each activated package, determine what symlinks to create.
|
||||||
|
|
||||||
my %symlinks;
|
my %symlinks;
|
||||||
$symlinks{""} = ["", 0]; # create root directory
|
|
||||||
|
|
||||||
my %priorities;
|
for my $p (@pathsToLink) {
|
||||||
|
$p = "" if $p eq "/";
|
||||||
|
$symlinks{$p} = ["", 0];
|
||||||
|
}
|
||||||
|
|
||||||
sub findFiles;
|
sub findFiles;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue