summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib/file.c
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1996-12-29 12:19:09 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1996-12-29 12:19:09 +0000
commitdc0ba1a67799fa53e2969c9b5f42cba1c2ee6321 (patch)
tree6f9005828e96b152f9f0a0e2b2584d31e97c465f /usr.sbin/pkg_install/lib/file.c
parentffe9629a5082b592df7f244740ad5261b00a3efc (diff)
our tar (paxtar) is now in /bin/tar not /usr/bin/tar
Diffstat (limited to 'usr.sbin/pkg_install/lib/file.c')
-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 a50016a6b8c..1434d6feb4b 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: file.c,v 1.2 1996/06/04 08:43:42 niklas Exp $ */
+/* $OpenBSD: file.c,v 1.3 1996/12/29 12:19:08 graichen Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: file.c,v 1.2 1996/06/04 08:43:42 niklas Exp $";
+static const char *rcsid = "$OpenBSD: file.c,v 1.3 1996/12/29 12:19:08 graichen Exp $";
#endif
/*
@@ -274,7 +274,7 @@ fileGetURL(char *base, char *spec)
tpid = fork();
if (!tpid) {
dup2(fd, 0);
- i = execl("/usr/bin/tar", "tar", Verbose ? "-xzvf" : "-xzf", "-", 0);
+ i = execl("/bin/tar", "tar", Verbose ? "-xzvf" : "-xzf", "-", 0);
if (Verbose)
printf("tar command returns %d status\n", i);
exit(i);