diff options
author | grant <grant@pkgsrc.org> | 2004-01-15 09:57:50 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-01-15 09:57:50 +0000 |
commit | f410fa1585055b3bd3622148468ec787f1595794 (patch) | |
tree | 1f42afaece4625530ac3b686f019c600b9836143 /mk/bulk/pre-build | |
parent | 6c71da971e6ad7279b12285a07e8ce3bcbf2aeaa (diff) | |
download | pkgsrc-f410fa1585055b3bd3622148468ec787f1595794.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-build | 5 |
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 |