summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_install/create/perform.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 59745a4..21dbaa6 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.38 1997/10/13 15:03:51 jkh Exp $";
+ "$Id: perform.c,v 1.39 1997/11/13 11:49:23 jkh Exp $";
#endif
/*
@@ -96,6 +96,9 @@ pkg_perform(char **pkgs)
/* Slurp in the packing list */
read_plist(&plist, pkg_in);
+ /* Prefix should add an @cwd to the packing list */
+ if (Prefix)
+ 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.
OpenPOWER on IntegriCloud