From f3be2fa216e6050de4a7cb0f6cf485fb9a2d28ad Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 15 May 2022 23:00:05 +0100 Subject: [PATCH] shapelib bundle tests: Do not filter out "filenames" after ^: These are actually extra field definitions. If there are these, our parser is too stupid. We're just filtering out the source filenames to know that otter isn't reading them. Signed-off-by: Ian Jackson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c7094ccc..b354ed67 100644 --- a/Makefile +++ b/Makefile @@ -413,7 +413,7 @@ examples/big-bundle/otter.toml: $(LIBRARY_FILES) $(MAKEFILE_DEP) perl -p \ -e 'BEGIN { print "# -- AUTOGENERATED FROM COPY IN OTTER SOURCE --\n" }' \ -e 'if (m/^\[scraper]/..0) { unless (m/^\[(?!scraper)/..0) { s/^/\#/ } }' \ - -e 's/(?<=\s)\w\S*(?=\s)/-/ if m/^files = """/..m/^"""/;' \ + -e 's/(?<=\s)\w\S*(?=\s)/-/ if m/^files = """/..m/^"""|^:/;' \ <$$l.toml >examples/big-bundle/$$l.toml; done @set -e; echo 'LN for $@'; \ for e in $(LIBRARY_FILE_INPUTS); do \ -- 2.30.2