diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 23:16:42 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 23:16:42 +0000 |
commit | 72d92b7ca2034f10cc1cb9a24475aa76b1f1c586 (patch) | |
tree | 371a06da1b43c15452560f2616dd142cf129c0cc /usr.sbin/pkg_add/OpenBSD/SharedLibs.pm | |
parent | 675cf8f379a783be36eb543f5f999aedaac18260 (diff) |
remove unneeded quotes
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/SharedLibs.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/SharedLibs.pm | 8 |
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]); } } |