Don't create packages with bogus @name lines.

This commit is contained in:
Jordan K. Hubbard 1994-11-17 10:54:11 +00:00
parent 3e78200fd8
commit 07b5b56eba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4548

View File

@ -1,5 +1,5 @@
#ifndef lint
static const char *rcsid = "$Id: perform.c,v 1.11 1994/10/04 15:54:39 jkh Exp $";
static const char *rcsid = "$Id: perform.c,v 1.12 1994/10/14 05:55:46 jkh Exp $";
#endif
/*
@ -75,7 +75,7 @@ pkg_perform(char **pkgs)
* at the top.
*/
if (find_plist(&plist, PLIST_NAME) == NULL)
add_plist_top(&plist, PLIST_NAME, pkg);
add_plist_top(&plist, PLIST_NAME, basename_of(pkg));
/* Make a directory to stomp around in */
home = make_playpen(PlayPen, 0);