CVSROOT:        /cvs
Module name:    src
Changes by:     wcma...@cvs.openbsd.org 2009/06/04 12:59:28

Modified files:
        usr.sbin/pkg_add/OpenBSD: PackageInfo.pm 

Log message:
Canonicalise package names when comparing them against the package database.

This unconfuses pkg_* when passed paths that, while valid, don't exactly
match /var/db/pkg. For example, the following now works (note the double
slash):

$ pkg_info /var//db/pkg/somepackage

Hasty tab-completers the world over shall rejoice. Tweaks and ok es...@.

Reply via email to