aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib/Build.pm3
-rw-r--r--SBO-Lib/lib/SBO/Lib/Info.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib/Build.pm b/SBO-Lib/lib/SBO/Lib/Build.pm
index f6911a9..7587836 100644
--- a/SBO-Lib/lib/SBO/Lib/Build.pm
+++ b/SBO-Lib/lib/SBO/Lib/Build.pm
@@ -780,6 +780,9 @@ sub _build_queue {
$warnings->{$sbo}="%README%" if $req eq "%README%";
}
}
+ else {
+ $warnings->{$sbo} = "nonexistent";
+ }
push @result, $sbo;
}
diff --git a/SBO-Lib/lib/SBO/Lib/Info.pm b/SBO-Lib/lib/SBO/Lib/Info.pm
index b79c7fd..dd5b55f 100644
--- a/SBO-Lib/lib/SBO/Lib/Info.pm
+++ b/SBO-Lib/lib/SBO/Lib/Info.pm
@@ -180,7 +180,7 @@ C<get_requires()> returns the requirements for a given C<$sbo>.
# wrapper to pull the list of requirements for a given sbo
sub get_requires {
my $location = get_sbo_location(shift);
- return [] unless $location;
+ return undef unless $location;
my $info = get_from_info(LOCATION => $location, GET => 'REQUIRES');
return $info;
}