summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-05-12 06:06:49 +0000
committerjkh <jkh@FreeBSD.org>1999-05-12 06:06:49 +0000
commit2a028a05aa2e43987d309510e9b62d65a3c89d3e (patch)
tree494d43868780f5f48021a84f5271e0a2b59f3655 /usr.sbin/pkg_install
parentd3fa28edceced39291c6fb85b0cce8ce4756ba7a (diff)
downloadFreeBSD-src-2a028a05aa2e43987d309510e9b62d65a3c89d3e.zip
FreeBSD-src-2a028a05aa2e43987d309510e9b62d65a3c89d3e.tar.gz
Revive the PKG_ADD_BASE stuff a bit.
Diffstat (limited to 'usr.sbin/pkg_install')
-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 9aed73c..b41a711 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
OpenPOWER on IntegriCloud