summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-02-18 09:06:35 +0100
committerErich Eckner <git@eckner.net>2017-02-18 09:10:14 +0100
commit737f27615515cf5ecbe74b73be0530ac93cff19d (patch)
tree173b357765b35eba5976c8a6726db6e0d7ebc8e3
parent6b61e292186b28f1b227f078453059deaa569a05 (diff)
downloadupdate-all-737f27615515cf5ecbe74b73be0530ac93cff19d.tar.xz
Makefile macht nun auch chmod +x
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d57a5ca..54b14db 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ all: update-all update-me
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
+ [ "$@" = "update-me" -o "$@" = "update-all" ] && chmod +x "$@" || true
.PHONY: install dist clean