[PATCH v4 3/6] tests: fix comment syntax in chainlint.sed for AIX sed
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Aug 24, 2018, 15:20 UTC
- Message-ID
- <20180824152016.20286-4-avarab@gmail.com>
- In-Reply-To
- <CAPig+cS4yeHNbc1Anq1DtLPEEGLpGeGEV74JHZrYft2wRmZAPQ@mail.gmail.com>
Change a comment in chainlint.sed to appease AIX sed, which would previously print this error:
sed: # stash for later printing is not a recognized function
1. https://public-inbox.org/git/CAPig+cTTbU5HFMKgNyrxTp3+kcK46-Fn=4ZH6zDt1oQChAc3KA@mail.gmail.com/
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- t/chainlint.sed | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/t/chainlint.sed b/t/chainlint.sed index 8544df38df..dcb4b333ed 100644 --- a/t/chainlint.sed +++ b/t/chainlint.sed @@ -131,9 +131,8 @@ b b :subshell -# bare "(" line? +# bare "(" line? -- stash for later printing /^[ ]*([ ]*$/ { - # stash for later printing h bnextline }
-- 2.18.0.865.gffc8e1a3cd6