pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk 'export VAR=value' doesn't work in some brain-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0366b08998c7
branches: trunk
changeset: 466303:0366b08998c7
user: grant <grant%pkgsrc.org@localhost>
date: Thu Jan 15 09:57:50 2004 +0000
description:
'export VAR=value' doesn't work in some brain-dead shells. use
'VAR=value; export VAR' instead.
diffstat:
mk/bulk/pre-build | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 0a1f8e566a8f -r 0366b08998c7 mk/bulk/pre-build
--- a/mk/bulk/pre-build Thu Jan 15 09:57:13 2004 +0000
+++ b/mk/bulk/pre-build Thu Jan 15 09:57:50 2004 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index