Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files/admin
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 04/04/2006 06:25:59
Module Name:	pkgsrc
Committed By:	wiz
Date:		Tue Apr  4 06:25:59 UTC 2006

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/admin: main.c

Log Message:
Pull over v1.51 from src/usr.sbin:
revision 1.51
date: 2006/03/06 20:00:10;  author: reed;  state: Exp;  lines: +4 -4
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


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 pkgsrc/pkgtools/pkg_install/files/admin/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.