mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Merge pull request #55 from parched/config_fixes
Config fix for echo without -e
This commit is contained in:
commit
ac877a036e
8
Makefile
8
Makefile
@ -855,11 +855,15 @@ 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_show
|
||||
config_show:
|
||||
@cat $(CONFIG_FILE)
|
||||
|
||||
.PHONY: config_clean
|
||||
config_clean:
|
||||
|
Loading…
x
Reference in New Issue
Block a user