From dc2911fc741e36311db8134a2adedb56802f1aa5 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sat, 27 Apr 2019 13:30:13 +0200 Subject: sboinstall, Build, Info: Allow ignoring of SBo from reqs that doesn't exist --- SBO-Lib/lib/SBO/Lib/Info.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib/SBO/Lib/Info.pm') 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 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; } -- cgit v1.2.3