mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-12-22 13:52:13 +01:00
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!
This commit is contained in:
parent
954395aece
commit
1f147fcb1c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -18,7 +18,7 @@ $(TARGET_FILE): $(INPUT_FILE) $(PLUGIN_FILES) $(CONFIGURATION_FILE)
|
||||||
echo "Adding plugin $$(basename "$$plugin_filename")"; done
|
echo "Adding plugin $$(basename "$$plugin_filename")"; done
|
||||||
@export VERSION="$(VERSION)"; \
|
@export VERSION="$(VERSION)"; \
|
||||||
export "PLUGINS=$(PLUGINS)"; \
|
export "PLUGINS=$(PLUGINS)"; \
|
||||||
export CONF=$$(grep -v '^#' "$(CONFIGURATION_FILE)"); \
|
export CONF="$$(grep -v '^#' "$(CONFIGURATION_FILE)")"; \
|
||||||
export PLSTR="$$(grep -vh '^[ \t]*#' $(PLUGIN_FILES))"; \
|
export PLSTR="$$(grep -vh '^[ \t]*#' $(PLUGIN_FILES))"; \
|
||||||
perl -p -e '\
|
perl -p -e '\
|
||||||
s/\@\@VERSION\@\@/$$ENV{"VERSION"}/; \
|
s/\@\@VERSION\@\@/$$ENV{"VERSION"}/; \
|
||||||
|
|
Loading…
Reference in a new issue