summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Makefile.in3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a58a49d9b..2b830ac6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-02  Peter Stephenson  <pws@cambridgesiliconradio.com>
+
+	* 11733: Doc/Makefile.in: Solaris sed was behaving strangely with
+	the commands to create Zsh/modlist.yo.
+
 2000-06-02  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 11723: Src/glob.c:  Fixed glob-array indexing.
diff --git a/Doc/Makefile.in b/Doc/Makefile.in
index c2bd6f0d9..29dafca3a 100644
--- a/Doc/Makefile.in
+++ b/Doc/Makefile.in
@@ -193,7 +193,8 @@ Zsh/modlist.yo: $(MODDOCSRC)
 	( \
 	    echo "startitem()"; \
 	    for modfile in $(MODDOCSRC); do \
-		sed -n '1{s|^COMMENT(!MOD!\(.*\)$$|item(tt(\1))(|;p;d;};/^!MOD!)$$/q;p' \
+		sed -ne '1{s|^COMMENT(!MOD!\(.*\)$$|item(tt(\1))(|;p;d;}' \
+		    -e '/^!MOD!)$$/q;p' \
 		    < $(sdir)/$$modfile; \
 		echo ")"; \
 	    done; \