diff options
author | jkh <jkh@FreeBSD.org> | 1997-11-14 01:56:04 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-11-14 01:56:04 +0000 |
commit | 47092137737b5bfaac988363e5f05055d4aa8e84 (patch) | |
tree | b8fc64be30468a8215915a0fe4476726068db35b /usr.sbin | |
parent | 3dc202d85adc098f47f71f217da8a6b23ebdcd73 (diff) | |
download | FreeBSD-src-47092137737b5bfaac988363e5f05055d4aa8e84.zip FreeBSD-src-47092137737b5bfaac988363e5f05055d4aa8e84.tar.gz |
MF22: Revert part of -p handling.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/create/perform.c | 5 |
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. |