summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2021-05-04 08:41:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2021-05-04 08:41:04 +0000
commit5826d4112ece52e2b2ceb39dcda59976ec468735 (patch)
treeff71937101c2e3ae57c06cf93660a1f36c17ad15 /usr.sbin/pkg_add
parent6d53ff8c954a8f8e8327e118e9024c18492f683b (diff)
and do the same thing to pkg_mklocatedb
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_mklocatedb3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_mklocatedb b/usr.sbin/pkg_add/pkg_mklocatedb
index c17522aab3f..2ba920e41e2 100644
--- a/usr.sbin/pkg_add/pkg_mklocatedb
+++ b/usr.sbin/pkg_add/pkg_mklocatedb
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# Copyright (c) 2005-2010 Marc Espie <espie@openbsd.org>
-# $OpenBSD: pkg_mklocatedb,v 1.46 2018/09/11 09:43:08 espie Exp $
+# $OpenBSD: pkg_mklocatedb,v 1.47 2021/05/04 08:41:03 espie Exp $
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -16,6 +16,7 @@
use strict;
use warnings;
+no lib ('/usr/local/libdata/perl5/site_perl');
use OpenBSD::PackageInfo;
use OpenBSD::PackingList;