aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboupgrade6
1 files changed, 3 insertions, 3 deletions
diff --git a/sboupgrade b/sboupgrade
index fae66ab..87c9fce 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -95,7 +95,7 @@ slackbuilds_or_fetch;
# time verifying each item is a valid slackbuild
my %locations;
for my $sbo_name (@ARGV) {
- $locations{$sbo_name} = get_sbo_location $sbo_name;
+ $locations{$sbo_name} = get_sbo_location ($sbo_name);
die "Unable to locate $sbo_name in the SlackBuilds.org tree.\n" unless
defined $locations{$sbo_name};
}
@@ -118,8 +118,8 @@ sub get_requires ($$) {
return if '%README%' ~~ @$requires;
# do nothing if there's a circular requirement
FIRST: for my $req (@$requires) {
- my $req_req = get_from_info (LOCATION => get_sbo_location $req,
- GET => 'REQUIRES');
+ my $location = get_sbo_location ($req);
+ my $req_req = get_from_info (LOCATION => $location, GET => 'REQUIRES');
if ($sbo ~~ @$req_req) {
say "I am seeing circular requirements between $sbo and $req.";
say "Therefore, I am not going to handle requirements for $sbo.";