diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageInfo.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm index 4b3098f9c44..6902f2f237a 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageInfo.pm,v 1.54 2011/07/12 10:30:29 espie Exp $ +# $OpenBSD: PackageInfo.pm,v 1.55 2011/08/18 07:53:59 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -125,7 +125,8 @@ sub installed_info sub installed_contents { - return installed_info(shift).CONTENTS; + my $name = shift; + return installed_info($name).CONTENTS; } sub borked_package |