Date: Mon, 8 Jun 2009 05:28:19 GMT From: David Forsythe <dforsyth@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 163762 for review Message-ID: <200906080528.n585SJMe072964@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163762 Change 163762 by dforsyth@squirrel on 2009/06/08 05:27:51 Base PKGNAME on a packages path, rather than the name in its plist. Affected files ... .. //depot/projects/soc2009/dforsyth_libpkg/pkg_info/main.c#5 edit Differences ... ==== //depot/projects/soc2009/dforsyth_libpkg/pkg_info/main.c#5 (text+ko) ==== @@ -105,7 +105,8 @@ /* Just print the basic PKGNAME COMMENT scheme right now. Other * information isn't collected by the library yet. */ if (!opt_show_all_info) - printf("%s %s\n", pkg_name(p), pkg_comment(p)); + /* Use pkg_ident because old pkg_info goes by directory name. */ + printf("%s %s\n", pkg_ident(p), pkg_comment(p)); else { /* Testing plist interaction. */ printf("%s:\n", pkg_name(p));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906080528.n585SJMe072964>