chiark / gitweb /
shapelib bundle tests: Do not filter out "filenames" after ^:
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 22:00:05 +0000 (23:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 22:38:57 +0000 (23:38 +0100)
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 <ijackson@chiark.greenend.org.uk>
Makefile

index c7094ccc6631649133520056acc2099f158fa4d5..b354ed6732459ac974b93c3ad0ce515e795c25c9 100644 (file)
--- 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 \