summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-09-06 23:26:21 +0000
committerjkh <jkh@FreeBSD.org>1993-09-06 23:26:21 +0000
commit7ed3f46cfac6089eae7d308995943b43efecf41e (patch)
tree726c671fe3c9f19d44e27f5717492a27b50583a9 /usr.sbin
parentcf1bc54ea73df945244d5e86a77fd3e54a8937ff (diff)
downloadFreeBSD-src-7ed3f46cfac6089eae7d308995943b43efecf41e.zip
FreeBSD-src-7ed3f46cfac6089eae7d308995943b43efecf41e.tar.gz
Added option for current directory prefix in @exec (without which it's pretty
useless).
Diffstat (limited to 'usr.sbin')
-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 997d6d8..c9978cd 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;
OpenPOWER on IntegriCloud