From: Michael Smith Date: Fri, 21 Jul 2006 16:55:43 +0000 (+0000) Subject: Made further changes to get LatestChanges build working. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84bac19ecbd19f9382839ee4c5f0fc269f902688;p=docbook-dsssl Made further changes to get LatestChanges build working. --- diff --git a/releasetools/docbook-build b/releasetools/docbook-build index fc20cec9e..43d729a7e 100755 --- a/releasetools/docbook-build +++ b/releasetools/docbook-build @@ -111,7 +111,7 @@ while getopts ":b:d:hl:p:rst:u:v:z:" opt; do if echo $LINE | grep "^Message-Id: " >/dev/null; then MESSAGE_ID=`echo $LINE | sed 's/^Message-Id: <\([^@]\+\)@[^\>]\+>$/\1/'` elif echo $LINE | grep "^Subject: " >/dev/null; then - CHANGE_SUMMARY=`echo $LINE | sed 's/^Subject: SF.net SVN: docbook: \(.\+\)$/\1/' + CHANGE_SUMMARY=`echo $LINE | sed 's/^Subject: SF.net SVN: docbook: \(.\+\)$/\1/'` break fi done ;; @@ -207,7 +207,7 @@ else DIFFVER=`cat $DISTRO/VERSION` fi - PREVIOUS_RELEASE=`if [ -f PreviousRelease ]; then cat PreviousRelease; fi` + PREVIOUS_RELEASE=`if [ -f $DISTRO/PreviousRelease ]; then cat $DISTRO/PreviousRelease; fi` if [ $MESSAGE_ID ]; then BUILD_ID=$MESSAGE_ID else @@ -270,7 +270,7 @@ guarantees. It may in fact be broken. EOF if [ -n "$PREVIOUS_RELEASE" ]; then - svn log --verbose -r HEAD:$PREVIOUS_RELEASE > $DISTRO/LatestChanges + svn log --verbose -r HEAD:$PREVIOUS_RELEASE $DISTRO > $DISTRO/LatestChanges fi if [ "$UPLOAD" = "yes" ]; then