summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageLocator.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageLocator.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
index c195d3ca289..68ce601dfa1 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: PackageLocator.pm,v 1.1 2003/10/16 17:43:34 espie Exp $
+# $OpenBSD: PackageLocator.pm,v 1.2 2003/10/19 18:41:56 espie Exp $
#
# Copyright (c) 2003 Marc Espie.
#
@@ -192,6 +192,8 @@ if (defined $ENV{PKG_PATH}) {
$i =~ m|/$| or $i.='/';
unshift @pkgpath, OpenBSD::PackageLocation->new($i);
}
+} else {
+ @pkgpath=(OpenBSD::PackageLocation->new("./"));
}
sub find