From fe598d432cf8bc1a1ed1f62f8bd95739f3dd4f27 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 29 Jul 2021 21:51:08 +0200 Subject: fix Makefile for posix sh --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce8b6be..77a9447 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ all: man.commons \ s@#GITUSER#@$(GITUSER)@; \ s@#HELPTEXT#\(\s\+\)#@ --help \1display this help and exit\n --version\1display version and exit@; \ " $< > $@ && \ - ( [[ "$@" = *.* ]] || chmod +x "$@" ) + [ "$@" = 'gitolite-sync' ] && chmod +x "$@" || true %.1: % man.commons grep -v "^$<(" man.commons | sed '/^\[SEE ALSO]$$/{n;:a;N;/\[/b;s/\n/, /;ta;}' > "$<.common" && \ -- cgit v1.2.3-70-g09d2