From: Stefano Lattarini Date: Wed, 14 Mar 2012 21:48:22 +0000 (+0100) Subject: tests: one more use of 'unindent' function X-Git-Tag: v1.11b~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1afb320a6bae3b94bfe53c7f6e32bc998bc28cf;p=thirdparty%2Fautomake.git tests: one more use of 'unindent' function * tests/yacc-d-cxx.test (write_parse, write_main): Use 'unindent' instead of ad-hoc sed invocation to strip extra leading whitespace. Signed-off-by: Stefano Lattarini --- diff --git a/tests/yacc-d-cxx.test b/tests/yacc-d-cxx.test index 38d63f3f1..51d78f1b3 100755 --- a/tests/yacc-d-cxx.test +++ b/tests/yacc-d-cxx.test @@ -24,7 +24,7 @@ required=yacc write_parse () { header=$1 - sed 's/^ *//' < @@ -41,7 +41,7 @@ END write_main () { header=$1 - sed 's/^ *//' < #include "$header"