From b34305befec2429b15bba14c9e60f3cf0c20f698 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 6 Oct 2007 10:55:15 +0000 Subject: [PATCH] Once again trying to fix pattern matches for Revision and Modified lines. --- releasetools/docbook-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasetools/docbook-build b/releasetools/docbook-build index b581429ea..01683032e 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 -r '^s/Revision: (.+)$/\1/') + REVISION=$(echo $LINE | sed -r 's/^Revision: (.+)$/\1/') break fi if echo $LINE | grep "^Modified: " >/dev/null; then -- 2.40.0