From c6a72fc9d7adeb0d88e83cf7aa1ced28b38817ce Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 13 Nov 1997 11:49:23 +0000 Subject: [PATCH] The prefix override code was bogus. The original idea was sound enough, but we're not using the pkg_create tool that way anymore in the ports collection. PR: 4894 Submitted by: Adrian Colley --- usr.sbin/pkg_install/create/perform.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index 830a2b23402f..59745a4e66f8 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -1,6 +1,6 @@ #ifndef lint static const char rcsid[] = - "$Id: perform.c,v 1.37 1997/10/08 07:46:27 charnier Exp $"; + "$Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp $"; #endif /* @@ -96,11 +96,6 @@ pkg_perform(char **pkgs) /* Slurp in the packing list */ read_plist(&plist, pkg_in); - /* Prefix should override the packing list */ - if (Prefix) { - delete_plist(&plist, FALSE, PLIST_CWD, NULL); - add_plist_top(&plist, PLIST_CWD, Prefix); - } /* * Run down the list and see if we've named it, if not stick in a name * at the top.