]> granicus.if.org Git - docbook-dsssl/commitdiff
Once again trying to fix pattern matches for Revision and Modified
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 6 Oct 2007 10:55:15 +0000 (10:55 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 6 Oct 2007 10:55:15 +0000 (10:55 +0000)
lines.

releasetools/docbook-build

index b581429ea543444e7a64e15709f5f83bdeeabc77..01683032e7be7f7ac107f70c1b22836e1283f73a 100755 (executable)
@@ -141,7 +141,7 @@ while getopts ":a:b:e:f:d:hl:p:rst:u:v:x:z:" opt; do
          while read -r LINE
          do
           if echo $LINE | grep "^Revision: " >/dev/null; then
-            REVISION=$(echo $LINE | sed -r '^s/Revision: (.+)$/\1/')
+            REVISION=$(echo $LINE | sed -r 's/^Revision: (.+)$/\1/')
             break
           fi
           if echo $LINE | grep "^Modified: " >/dev/null; then