]> granicus.if.org Git - docbook-dsssl/commitdiff
Made further changes to get LatestChanges build working.
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 21 Jul 2006 16:55:43 +0000 (16:55 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 21 Jul 2006 16:55:43 +0000 (16:55 +0000)
releasetools/docbook-build

index fc20cec9e06f49eae2e2785143751eede8f66e11..43d729a7ecf1f493efc39d63ecbf40f02d4d323d 100755 (executable)
@@ -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