summaryrefslogtreecommitdiff
path: root/mk/bulk/pre-build
diff options
context:
space:
mode:
authorgrant <grant>2004-01-15 09:57:50 +0000
committergrant <grant>2004-01-15 09:57:50 +0000
commit4f3206648b4a1e8e77427e1fc1afef00dda678c8 (patch)
tree1f42afaece4625530ac3b686f019c600b9836143 /mk/bulk/pre-build
parent68e590cc1f6940619fb555ed27124a46a291a95a (diff)
downloadpkgsrc-4f3206648b4a1e8e77427e1fc1afef00dda678c8.tar.gz
'export VAR=value' doesn't work in some brain-dead shells. use
'VAR=value; export VAR' instead.
Diffstat (limited to 'mk/bulk/pre-build')
-rw-r--r--mk/bulk/pre-build5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bulk/pre-build b/mk/bulk/pre-build
index 4153aa0bfad..677f9ccf7d4 100644
--- a/mk/bulk/pre-build
+++ b/mk/bulk/pre-build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: pre-build,v 1.33 2003/12/07 11:43:22 agc Exp $
+# $NetBSD: pre-build,v 1.34 2004/01/15 09:57:50 grant Exp $
#
# Clean up system to be ready for bulk pkg build
#
@@ -23,7 +23,8 @@ PKGLINT_PKG_DIR=${USR_PKGSRC}/pkgtools/pkglint
# extract the name of the files used for the build log and broken build log.
# these have defaults set by bsd.bulk-pkg.mk and may be overridden in /etc/mk.conf
-export BROKENF=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BROKENFILE )`;
+BROKENF=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BROKENFILE )`;
+export BROKENF
if [ "$BROKENF" = "" ]; then
echo "Had problems determining the name of the .broken files"
exit 1