aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1993-09-06 23:26:21 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1993-09-06 23:26:21 +0000
commit96c8ba9a7a00b60606810bc76f1784e4182a6db3 (patch)
tree726c671fe3c9f19d44e27f5717492a27b50583a9 /usr.sbin/pkg_install
parentf45e18ea6050def6772f9cedd78273be8814cb30 (diff)
downloadsrc-96c8ba9a7a00b60606810bc76f1784e4182a6db3.tar.gz
src-96c8ba9a7a00b60606810bc76f1784e4182a6db3.zip
Added option for current directory prefix in @exec (without which it's pretty
useless).
Notes
Notes: svn path=/head/; revision=402
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/add/extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c
index 997d6d8d094b..c9978cdef0f8 100644
--- a/usr.sbin/pkg_install/add/extract.c
+++ b/usr.sbin/pkg_install/add/extract.c
@@ -78,7 +78,7 @@ extract_plist(char *home, Package *pkg)
if (Verbose)
printf("extract: exec cmd '%s' (lastfile = %s)\n", p->name,
last_file);
- if (!Fake && vsystem(p->name, last_file))
+ if (!Fake && vsystem(p->name, Directory, last_file))
whinge("Command '%s' failed.", p->name);
break;