summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/SharedLibs.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/SharedLibs.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
index 5ab8559f722..e615c9abf2b 100644
--- a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
+++ b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SharedLibs.pm,v 1.13 2007/05/07 08:18:02 espie Exp $
+# $OpenBSD: SharedLibs.pm,v 1.14 2007/05/14 23:16:41 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -89,9 +89,9 @@ sub register_lib
my ($name, $pkgname) = @_;
if ($name =~ m/^(.*\/lib.*?\.so\.\d+)\.(\d+)$/) {
my ($stem, $minor) = ($1, $2);
- $registered_libs->{"$stem"} = []
- unless defined $registered_libs->{"$stem"};
- push(@{$registered_libs->{"$stem"}}, [$minor, $pkgname]);
+ $registered_libs->{$stem} = []
+ unless defined $registered_libs->{$stem};
+ push(@{$registered_libs->{$stem}}, [$minor, $pkgname]);
}
}