summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-01-09 09:39:59 +1100
committerAndrew Bartlett <abartlet@samba.org>2013-01-10 18:46:22 +1100
commit9dfd0a0dc980b521905399e0b409cb81fbbe6b37 (patch)
tree5d6299bb848f82cd0e85a925f40a12cfa880cd88 /buildtools
parent313da9dc7d8cb16f943ea7bde1c1d7bf8f02c0f0 (diff)
downloadsamba-9dfd0a0dc980b521905399e0b409cb81fbbe6b37.tar.gz
samba-9dfd0a0dc980b521905399e0b409cb81fbbe6b37.tar.bz2
samba-9dfd0a0dc980b521905399e0b409cb81fbbe6b37.zip
build: Remove bashism from SAMBAMANPAGES rule
In sh, you must assign the variable, then export it. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wafsamba.py3
1 files changed, 2 insertions, 1 deletions
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'''
)