aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-12-05 06:29:03 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-12-05 06:29:03 +0000
commitcf144a3d4a16e1dabc72f07df17ebf819368f3bf (patch)
treeb61a4c2c67b98e3ad499b27d7f35edbc78ec3df3 /usr.sbin/pkg_install/lib
parentfcdfed00d57f745bdca5f6f2036c8da4155b58cc (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index c12b35ca03dd..9aed73cf3999 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -1,6 +1,6 @@
#ifndef lint
static const char rcsid[] =
- "$Id: file.c,v 1.33 1998/10/09 00:01:16 jkh Exp $";
+ "$Id: file.c,v 1.34 1998/10/14 18:52:04 jkh Exp $";
#endif
/*
@@ -487,8 +487,8 @@ unpack(char *pkg, char *flist)
}
}
else
- strcpy(args, "z");
- strcat(args, "xpf");
+ strcpy(args, "-z");
+ strcat(args, " -xpf");
if (vsystem("tar %s %s %s", args, pkg, flist ? flist : "")) {
warnx("tar extract of %s failed!", pkg);
return 1;