diff options
author | Philipp Kern <pkern@debian.org> | 2010-10-17 14:31:16 +0000 |
---|---|---|
committer | Philipp Kern <pkern@debian.org> | 2010-10-17 14:31:16 +0000 |
commit | 57463ba6690da52651f59df9e87b715aae83f305 (patch) | |
tree | e562eefa64f79f820acbfee877d8499f9793f277 | |
parent | 5bdf78ec5442a977845a61d832985047dd16b756 (diff) | |
download | installation-guide-57463ba6690da52651f59df9e87b715aae83f305.zip |
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.
-rwxr-xr-x | build/buildone.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |