Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.sbin/pkg_install/info Pull up revision 1.30 (reques...
details: https://anonhg.NetBSD.org/src/rev/193f0dd5f237
branches: netbsd-1-6
changeset: 528505:193f0dd5f237
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jul 21 04:41:47 2002 +0000
description:
Pull up revision 1.30 (requested by yamt in ticket #530):
- remove handling of PKG_ADD_BASE.
- don't search current directory if PKG_PATH is set.
- don't prefer local directories.
- constify and cleanup.
discussed on tech-pkg.
diffstat:
usr.sbin/pkg_install/info/main.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 59095e961240 -r 193f0dd5f237 usr.sbin/pkg_install/info/main.c
--- a/usr.sbin/pkg_install/info/main.c Sun Jul 21 04:41:39 2002 +0000
+++ b/usr.sbin/pkg_install/info/main.c Sun Jul 21 04:41:47 2002 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: main.c,v 1.27.2.1 2002/06/28 12:44:14 lukem Exp $ */
+/* $NetBSD: main.c,v 1.27.2.2 2002/07/21 04:41:47 lukem Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char *rcsid = "from FreeBSD Id: main.c,v 1.14 1997/10/08 07:47:26 charnier Exp";
#else
-__RCSID("$NetBSD: main.c,v 1.27.2.1 2002/06/28 12:44:14 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.27.2.2 2002/07/21 04:41:47 lukem Exp $");
#endif
#endif
@@ -191,6 +191,8 @@
unsetenv("PKG_PATH");
}
+ path_create(getenv("PKG_PATH"));
+
/* Set some reasonable defaults */
if (!Flags)
Flags = SHOW_COMMENT | SHOW_DESC | SHOW_REQBY | SHOW_DEPENDS;
Home |
Main Index |
Thread Index |
Old Index