NetBSD/usr.sbin/pkg_install/admin
reed 1b379e628e Fix the "Cannot chdir" error message to actually show the
problem directory name for lsbest and lsall.

For example:

# pkg_admin -d /usr/packages/DragonFly/1.4.0/i386/All lsbest 'gmake>0'
pkg_admin: Cannot chdir to /var/db/pkg: No such file or directory

Should show:
pkg_admin: Cannot chdir to /usr/packages/DragonFly/1.4.0/i386/All: No such file or directory
2006-03-06 20:00:10 +00:00
..
Makefile
README
main.c Fix the "Cannot chdir" error message to actually show the 2006-03-06 20:00:10 +00:00
pkg_admin.1

README

Some of the options of this utility (add, delete) are *not* intended for
public release. Any work regarding the consistancy of the pkgdb should
be put into pkg_add/pkg_delete, instead of a brute-force "rebuild". 

The "rebuild" should be only needed wen upgrading from non-pkgdb-
pkg_* tools to pkgdb-pkg_* tools.


 - hubertf