diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-01-09 15:10:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-01-09 15:10:18 +0000 |
commit | 755e7c5a630a1c213a3ea0947064bc0e0b28669c (patch) | |
tree | c3340b30dfcc4e44f402e5236c19b574d949d498 /usr.sbin/pkg_add/pkg_info | |
parent | be542d8dad5c9618b76f8c8c4c6b77d6b1854f84 (diff) |
zap unused
Diffstat (limited to 'usr.sbin/pkg_add/pkg_info')
-rw-r--r-- | usr.sbin/pkg_add/pkg_info | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_info b/usr.sbin/pkg_add/pkg_info index 06565e7cf7f..4ad5ef146bd 100644 --- a/usr.sbin/pkg_add/pkg_info +++ b/usr.sbin/pkg_add/pkg_info @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_info,v 1.89 2010/01/09 14:55:53 espie Exp $ +# $OpenBSD: pkg_info,v 1.90 2010/01/09 15:10:17 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -104,10 +104,10 @@ sub find_pkg } require OpenBSD::PackageLocator; - my ($repo, $path); + my $repo; if ($pkgname =~ m/[\/\:]/o) { - ($repo, $path, $pkgname) = + ($repo, $pkgname) = OpenBSD::PackageLocator->path_parse($pkgname); } else { $repo = 'OpenBSD::PackageLocator'; |