From: Michael Smith Date: Sat, 6 Oct 2007 10:43:08 +0000 (+0000) Subject: Corrected pattern match for Revision line. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18eb6e32f7073509541c0906d08dc3b49066b3e1;p=docbook-dsssl Corrected pattern match for Revision line. --- diff --git a/releasetools/docbook-build b/releasetools/docbook-build index d531747b5..0d05ba8ed 100755 --- a/releasetools/docbook-build +++ b/releasetools/docbook-build @@ -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 '^s/Revision: \[\([^\]\+\)\]$/\1/') + REVISION=$(echo $LINE | sed '^s/Revision: \(.+\)$/\1/') break fi if echo $LINE | grep "^Modified: " >/dev/null; then