From 1f147fcb1cc1b4c3a79ed3b510014ea56c44f7f9 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Wed, 14 Jul 2021 13:17:27 +0200 Subject: [PATCH] fix: read more than one line from configuration file Previously only the first line of the configuration file (without a comment) was applied during build. Thus `DF_IGNORE_FILESYSTEM_REGEX` was previously ignored. Reported and fixed by Tobias Meyer, thanks! --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e96ae3a..f43284b 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ $(TARGET_FILE): $(INPUT_FILE) $(PLUGIN_FILES) $(CONFIGURATION_FILE) echo "Adding plugin $$(basename "$$plugin_filename")"; done @export VERSION="$(VERSION)"; \ export "PLUGINS=$(PLUGINS)"; \ - export CONF=$$(grep -v '^#' "$(CONFIGURATION_FILE)"); \ + export CONF="$$(grep -v '^#' "$(CONFIGURATION_FILE)")"; \ export PLSTR="$$(grep -vh '^[ \t]*#' $(PLUGIN_FILES))"; \ perl -p -e '\ s/\@\@VERSION\@\@/$$ENV{"VERSION"}/; \