From 57463ba6690da52651f59df9e87b715aae83f305 Mon Sep 17 00:00:00 2001 From: Philipp Kern Date: Sun, 17 Oct 2010 14:31:16 +0000 Subject: manual/build/buildone.sh: redirect xsltproc's stderr to stdout xsltproc sends informational messages like "writing out chapter X" to stderr. For automatic building with stdout redirected to /dev/null we don't want to see them. Obviously this also means that errors will not be logged properly in the cron mail and xsltproc will just return with non-zero exit status. In theory we'd want to filter out those "Writing out" lines on stderr instead. --- build/buildone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/buildone.sh b/build/buildone.sh index 4b5607bec..c6cdcdf74 100755 --- a/build/buildone.sh +++ b/build/buildone.sh @@ -122,7 +122,7 @@ create_html () { --xinclude \ --stringparam base.dir $destdir/html/ \ $stylesheet_html \ - $tempdir/install.${language}.profiled.xml + $tempdir/install.${language}.profiled.xml 2>&1 RET=$?; [ $RET -ne 0 ] && return $RET # Copy the custom css stylesheet to the destination directory -- cgit v1.2.3