summaryrefslogtreecommitdiff
path: root/mk/bulk/post-build
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bulk/post-build')
-rw-r--r--mk/bulk/post-build8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build
index cab7fa85fc5..9887cb2c7aa 100644
--- a/mk/bulk/post-build
+++ b/mk/bulk/post-build
@@ -1,5 +1,5 @@
#!/usr/pkg/bin/perl
-# $NetBSD: post-build,v 1.39 2004/03/18 14:27:20 grant Exp $
+# $NetBSD: post-build,v 1.40 2004/03/22 21:54:48 jschauma Exp $
#
# Collect stuff after a pkg bulk build
#
@@ -22,7 +22,11 @@ sub getconf {
local($var)=@_;
local($val);
- chomp($val=`. ./$BULK_BUILD_CONF ; echo \$$var`);
+ if ($BULK_BUILD_CONF =~ /^\//) {
+ chomp($val=`. $BULK_BUILD_CONF ; echo \$$var`);
+ } else {
+ chomp($val=`. ./$BULK_BUILD_CONF ; echo \$$var`);
+ }
eval "\$$var=\"$val\";";
}