From 07b5b56eba93ff873d952d4c00ee3f3c9831f361 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 17 Nov 1994 10:54:11 +0000 Subject: [PATCH] Don't create packages with bogus @name lines. --- usr.sbin/pkg_install/create/perform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index a0e14064b7ea..36d6d5f20265 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -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);