summaryrefslogtreecommitdiff
path: root/lib/SlackBuild
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2020-01-27 12:25:22 +0100
committerSergey Poznyakoff <gray@gnu.org.ua>2020-01-28 13:42:40 +0100
commitc990139d4966272e2999f088c77128b1ad704cc6 (patch)
tree5a23532b7b970a197fde90b841a44760066f74c9 /lib/SlackBuild
parenta58e5a4da9312e93f79610be85311e8e5f9839c7 (diff)
downloadslackbuilder-c990139d4966272e2999f088c77128b1ad704cc6.tar.gz
slackbuilder-c990139d4966272e2999f088c77128b1ad704cc6.tar.bz2
Bugfixes
* lib/Net/SBo.pm: Escape the path in regex using \Q..\E * lib/SlackBuild/Registry/Backend/FS.pm (scan): Fix out-of-bounds error in last element of $self->{ls}. * lib/SlackBuilder.pm (run): Shift from @md5sums (instead of popping).
Diffstat (limited to 'lib/SlackBuild')
-rw-r--r--lib/SlackBuild/Registry/Backend/FS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SlackBuild/Registry/Backend/FS.pm b/lib/SlackBuild/Registry/Backend/FS.pm
index bb66894..788ab2c 100644
--- a/lib/SlackBuild/Registry/Backend/FS.pm
+++ b/lib/SlackBuild/Registry/Backend/FS.pm
@@ -99,7 +99,7 @@ sub scan {
$self->{index}{$self->{ls}[$i]->package}[0] = $i;
}
}
- $self->{index}{$self->{ls}[$i-1]->package}[1] = $i;
+ $self->{index}{$self->{ls}[$i-1]->package}[1] = $i-1;
}
=head2 lookup

Return to:

Send suggestions and report system problems to the System administrator.