summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4009776..471aa51 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ all: $(BINS)
s@#BINDIR#@$(BINDIR)@; \
s@#HELPTEXT#\(\s\+\)#@ --help \1display this help and exit\n --version\1display version and exit@; \
" $< > $@
- [ -z "${@%%*.*}" ] || chmod +x "$@"
+ echo "$@" | grep -qF . || chmod +x "$@"
.PHONY: install dist clean