about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/zsh.mdd2
1 files changed, 1 insertions, 1 deletions
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