summaryrefslogtreecommitdiff
path: root/mk/bulk/post-build
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-08-26 07:24:53 +0000
committerreed <reed@pkgsrc.org>2005-08-26 07:24:53 +0000
commitf351e3c89bf0b10b6416b2b54ca5b8407d551499 (patch)
treede1f8b6c383dbb54dacdca6ea9edc3fbd5baa2b5 /mk/bulk/post-build
parent1a9bb2d07942cd984613ceed32918f45c72f73d9 (diff)
downloadpkgsrc-f351e3c89bf0b10b6416b2b54ca5b8407d551499.tar.gz
Use PKG_TOOLS_BIN, so it doesn't run wrong pkg_* tools found in the PATH.
Diffstat (limited to 'mk/bulk/post-build')
-rw-r--r--mk/bulk/post-build5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index d2391a1eeac..609a5ac615d 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.56 2005/07/17 13:38:01 ben Exp $
+# $NetBSD: post-build,v 1.57 2005/08/26 07:24:53 reed Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -85,6 +85,7 @@ getmakevars(qw(
STARTFILE
SUPPORTSFILE
X11BASE
+ PKG_TOOLS_BIN
));
my $bulkdbfile = basename($vars{BULK_DBFILE});
@@ -159,7 +160,7 @@ writeReport();
{
local $/;
undef $/;
- $perlfiles = `pkg_info -qL perl*`;
+ $perlfiles = `$vars{PKG_TOOLS_BIN}/pkg_info -qL perl*`;
}
my $perlfiles_pattern = $perlfiles;