summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-17 09:47:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-17 09:47:33 +0000
commitbf230f68892b0d66f92fc72cc7aa2252d9aed679 (patch)
treed2eeb6d26d02002252dd13c491b8aa7247bd3619 /usr.sbin
parentc3fa1433484242695d37232f3a28d04e9551dbac (diff)
write down explicitly that directory names in PKG_PATH should end with a /,
since pkg_add will have trouble splitting the path correctly in the presence of weird url schemes otherwise.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_add.110
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 83ea3400982..fb1ac5973b4 100644
--- a/usr.sbin/pkg_add/pkg_add.1
+++ b/usr.sbin/pkg_add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.49 2005/09/17 09:16:21 espie Exp $
+.\" $OpenBSD: pkg_add.1,v 1.50 2005/09/17 09:47:32 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -71,6 +71,9 @@ If the given package names are not found in the current working directory,
will search for them in each directory named by the
.Ev PKG_PATH
environment variable.
+Since a few url schemes contain colons,
+.Nm
+relies on each directory ending in a / to split the path correctly.
Specifying
.Ql -
as a package name causes
@@ -494,11 +497,12 @@ the directories named by
.Ev PKG_PATH
are searched.
It should contain a series of entries separated by colons.
-Each entry consists of a directory name.
+Each entry consists of a directory name, ending in a slash.
+URL schemes such as ftp, http, or scp are also appropriate.
The current directory may be indicated
implicitly by an empty directory name, or explicitly by a single
period
-.Pq Ql \&. .
+.Pq Ql \&./ .
.It Ev PKG_TMPDIR
Temporary area where package information files will be extracted, instead of
.Pa /var/tmp .