aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-05-12 06:06:49 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-05-12 06:06:49 +0000
commit722678f1c86d3605ca4728d51c2b7628e359c4fc (patch)
tree22418c650bcd84ed52e790d4699ceb022ced3f2a /usr.sbin/pkg_install/lib
parent5264b48a6efd1afece01e843f8a4e47fe01b3c07 (diff)
downloadsrc-722678f1c86d3605ca4728d51c2b7628e359c4fc.tar.gz
src-722678f1c86d3605ca4728d51c2b7628e359c4fc.zip
Revive the PKG_ADD_BASE stuff a bit.
Notes
Notes: svn path=/head/; revision=47039
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index 9aed73cf3999..b41a71134669 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.34 1998/10/14 18:52:04 jkh Exp $";
+ "$Id: file.c,v 1.35 1998/12/05 06:29:03 asami Exp $";
#endif
/*
@@ -216,6 +216,7 @@ fileGetURL(char *base, char *spec)
/* Otherwise, we've been given an environment variable hinting at the right location from sysinstall */
strcpy(fname, hint);
strcat(fname, spec);
+ strcat(fname, ".tgz");
}
}
else