From 9dfd0a0dc980b521905399e0b409cb81fbbe6b37 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 9 Jan 2013 09:39:59 +1100 Subject: build: Remove bashism from SAMBAMANPAGES rule In sh, you must assign the variable, then export it. Andrew Bartlett Reviewed-by: Stefan Metzmacher --- buildtools/wafsamba/wafsamba.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 94096698e7..6ef0b570d9 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -797,7 +797,8 @@ def SAMBAMANPAGES(bld, manpages): source=source, target=m, group='final', - rule='''export XML_CATALOG_FILES="${SAMBA_CATALOGS}" + rule='''XML_CATALOG_FILES="${SAMBA_CATALOGS}" + export XML_CATALOG_FILES ${XSLTPROC} --xinclude --stringparam noreference 0 -o ${TGT}.xml --nonet ${SAMBA_EXPAND_XSL} ${SRC} ${XSLTPROC} --nonet -o ${TGT} ${SAMBA_MAN_XSL} ${TGT}.xml''' ) -- cgit