[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix unportable sed script in maintainer-check test.
From: |
Ralf Wildenhues |
Subject: |
Fix unportable sed script in maintainer-check test. |
Date: |
Sun, 23 May 2010 14:29:22 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
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; \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix unportable sed script in maintainer-check test.,
Ralf Wildenhues <=