For maint. Cheers, Ralf
Fix unportable sed script in maintainer-check test. * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to not contain semicolon after 'b' or brace commands, for NetBSD. diff --git a/Makefile.am b/Makefile.am index c487874..bbcc882 100644 --- a/Makefile.am +++ b/Makefile.am @@ -323,7 +323,8 @@ sc_tests_here_document_format: ## Ignore comments, and ignore one perl line in ext2.test. sc_tests_Exit_not_exit: @found=false; for file in $(srcdir)/tests/*.test; do \ - res=`sed -n '/^#/d; /^\$$PERL/d; /<<.*END/,/^END/{b;}; /<<.*EOF/,/^EOF/{b;}; /exit [$$0-9]/p' $$file`; \ + res=`sed -n -e '/^#/d; /^\$$PERL/d' -e '/<<.*END/,/^END/b' \ + -e '/<<.*EOF/,/^EOF/b' -e '/exit [$$0-9]/p' $$file`; \ if test -n "$$res"; then \ echo "$$file:$$res"; \ found=true; \