From a25ffd05f44634ddfdfc987f22e3cd3006ab5e1e Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 26 Apr 2019 12:39:25 +0206 Subject: 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2319e3c..1ecfc40 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3