summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/perform.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-11-14 01:56:04 +0000
committerjkh <jkh@FreeBSD.org>1997-11-14 01:56:04 +0000
commit47092137737b5bfaac988363e5f05055d4aa8e84 (patch)
treeb8fc64be30468a8215915a0fe4476726068db35b /usr.sbin/pkg_install/create/perform.c
parent3dc202d85adc098f47f71f217da8a6b23ebdcd73 (diff)
downloadFreeBSD-src-47092137737b5bfaac988363e5f05055d4aa8e84.zip
FreeBSD-src-47092137737b5bfaac988363e5f05055d4aa8e84.tar.gz
MF22: Revert part of -p handling.
Diffstat (limited to 'usr.sbin/pkg_install/create/perform.c')
-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