about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/zsh.mdd2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ff9da365..7f177cdb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-01-09  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted: Src/zsh.mdd: fix the inevitable confusion with
+	using dollar Revision dollar.
+
 	* 26272: Doc/Zsh/params.yo, Src/params.c, Src/zsh.mdd, 
 
 	* unposted: add RCS Revision tag for use in patchlevel
@@ -10876,5 +10879,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4498 $                         
+* $Revision: 1.4499 $                         
 *****************************************************
diff --git a/Src/zsh.mdd b/Src/zsh.mdd
index 0d80b9259..7fb991007 100644
--- a/Src/zsh.mdd
+++ b/Src/zsh.mdd
@@ -44,7 +44,7 @@ version.h: $(sdir_top)/Config/version.mk zshcurses.h zshterm.h
 patchlevel.h: $(sdir_top)/ChangeLog
 	{ \
 	  echo -n "#define ZSH_PATCHLEVEL "; \
-	  sed -ne 's/^\* *\$$Revision: 1.19 $$/"\1"/p' \
+	  sed -ne 's/^\* *\$$''Revision: \(.*\) ''\$$/"\1"/p' \
 	  $(sdir_top)/ChangeLog; \
 	} >patchlevel.h