> I am getting
 > sed: 1: "1{h;s/./=/g;p;x}": extra characters at the end of x command
 > gmake: *** [distcheck] Error 1

 > which I think comes from

 > RCS file: /cvs/automake/automake/lib/am/distdir.am,v
 > retrieving revision 1.46
 > retrieving revision 1.47
 > diff -r1.46 -r1.47
 > ...
 > 348,350c351,353
 > <       $(am__remove_distdir)
 > <       @echo "$(distdir).tar.gz is ready for distribution" | \
 > <         sed 'h;s/./=/g;p;x;p;x'
 > ---
 >> @(echo "$(distdir) archives ready for distribution: "; \
 >> for i in $(DIST_ARCHIVES); do echo $$i; done) | \
 >> sed -e '1{h;s/./=/g;p;x}' -e '$${p;x}'


 > This seems to make my NetBSD sed unhappy... Thoughts?

I'm installing the following.

Index: ChangeLog
from  Akim Demaille  <[EMAIL PROTECTED]>

        * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
        sed complex commands, as required by NetBSD sed.
        Reported by Patrick Welche.

Index: Makefile.in
===================================================================
RCS file: /cvs/automake/automake/Makefile.in,v
retrieving revision 1.438
diff -u -u -r1.438 Makefile.in
--- Makefile.in 3 Jul 2003 18:58:49 -0000 1.438
+++ Makefile.in 5 Jul 2003 08:21:36 -0000
@@ -585,7 +585,7 @@
        $(am__remove_distdir)
        @(echo "$(distdir) archives ready for distribution: "; \
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-         sed -e '1{h;s/./=/g;p;x}' -e '$${p;x}'
+         sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
 distuninstallcheck:
        @cd $(distuninstallcheck_dir) \
        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
Index: stamp-vti
===================================================================
RCS file: /cvs/automake/automake/stamp-vti,v
retrieving revision 1.252
diff -u -u -r1.252 stamp-vti
--- stamp-vti 4 Jul 2003 22:13:52 -0000 1.252
+++ stamp-vti 5 Jul 2003 08:21:36 -0000
@@ -1,4 +1,4 @@
[EMAIL PROTECTED] UPDATED 4 July 2003
[EMAIL PROTECTED] UPDATED 5 July 2003
 @set UPDATED-MONTH July 2003
 @set EDITION 1.7a
 @set VERSION 1.7a
Index: version.texi
===================================================================
RCS file: /cvs/automake/automake/version.texi,v
retrieving revision 1.324
diff -u -u -r1.324 version.texi
--- version.texi 4 Jul 2003 22:13:52 -0000 1.324
+++ version.texi 5 Jul 2003 08:21:36 -0000
@@ -1,4 +1,4 @@
[EMAIL PROTECTED] UPDATED 4 July 2003
[EMAIL PROTECTED] UPDATED 5 July 2003
 @set UPDATED-MONTH July 2003
 @set EDITION 1.7a
 @set VERSION 1.7a
Index: lib/am/distdir.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/distdir.am,v
retrieving revision 1.49
diff -u -u -r1.49 distdir.am
--- lib/am/distdir.am 2 Jul 2003 20:53:07 -0000 1.49
+++ lib/am/distdir.am 5 Jul 2003 08:21:36 -0000
@@ -351,7 +351,7 @@
        $(am__remove_distdir)
        @(echo "$(distdir) archives ready for distribution: "; \
          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-         sed -e '1{h;s/./=/g;p;x}' -e '$${p;x}'
+         sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
 
 ## Define distuninstallcheck_listfiles and distuninstallcheck separately
 ## from distcheck, so that they can be overridden by the user.


Reply via email to