From 4131b0490afbb35ad7b946e3e0f7da29141548ce Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 3 Oct 2005 08:09:45 +0000 Subject: [PATCH] Reverted previous change and added DIFFTAG check. Problem was not in cvs2cl invocation; error occurred because no value was found for DIFFTAG; in that case, we just want to skip generating LatestChanges. --- releasetools/docbook-build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/releasetools/docbook-build b/releasetools/docbook-build index d11091dc2..de0cccd49 100755 --- a/releasetools/docbook-build +++ b/releasetools/docbook-build @@ -265,6 +265,11 @@ It is intended for testing purposes only and otherwise comes with no guarantees. It may in fact be broken. EOF + if [ $DIFFTAG ]; then + cvs2cl -S --delta $DIFFTAG:HEAD --stdout $DISTRO \ + | expand -t2 > $DISTRO/LatestChanges + fi + if grep "/dev/null; then cp -p $DISTRO/VERSION $DISTRO/VERSION.tmp sed "s/Version>.\+$DATE\_$TIME\_$RELEASEVERSION $DISTRO/VERSION -- 2.40.0