mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
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 <aecolley@ois.ie>
This commit is contained in:
parent
0985a5c811
commit
c6a72fc9d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31152
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user