diff options
| author | John Ogness <john.ogness@linutronix.de> | 2019-04-26 12:39:25 +0206 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2019-04-26 12:39:25 +0206 |
| commit | a25ffd05f44634ddfdfc987f22e3cd3006ab5e1e (patch) | |
| tree | 011a3e3e719794fc8615bfa2f8cf8322b73f077e | |
| parent | a61c0c459cb38fc6ea84912a8f3bcfb23fb6bbbf (diff) | |
Makefile: use literal strings instead of escaping
Although the escaping was correct, it is ugly and bug prone. Use
literal strings if static strings (no variables) are involved.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,7 +102,7 @@ $(KCONFIG): CHECK_COMMAND = $(shell command -v $(BUILD_COMMAND) 2> /dev/null) CHECK_SUBCMD = $(shell command -v $(BUILD_SUBCMD) 2> /dev/null) -CHECK_FILES = $(shell find $(CURDIR) -name \*\.tex -exec grep -lP '\t' \{\} \;) +CHECK_FILES = $(shell find $(CURDIR) -name '*.tex' -exec grep -lP '\t' '{}' ';') PHONY += check check: ; @@ -144,7 +144,7 @@ mrproper: clean PHONY += distclean distclean: mrproper $(Q)echo [CLEAN] $@ - $(Q)find -name "tmp*" -exec rm -f {} \; + $(Q)find -name 'tmp*' -exec rm -f '{}' ';' %_defconfig: $(KCONFIG) $(Q)cp $(DEFCONF_FOLDER)/$@ $(CONFIG_FILE) |
