1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

replace echo with printf in config generator

This commit is contained in:
James Duley 2015-07-21 23:16:42 +01:00
parent 2422706ba4
commit 7710e5c3dc

View File

@ -855,11 +855,11 @@ CONFIG_OPTS := $(subst $(SPACE),\n,$(MAKEOVERRIDES))
.PHONY: config_new
config_new:
@echo -e '$(CONFIG_OPTS)' > $(CONFIG_FILE)
@printf '$(CONFIG_OPTS)\n' > $(CONFIG_FILE)
.PHONY: config_append
config_append:
@echo -e '$(CONFIG_OPTS)' >> $(CONFIG_FILE)
@printf '$(CONFIG_OPTS)\n' >> $(CONFIG_FILE)
.PHONY: config_clean
config_clean: