diff options
author | Erich Eckner <git@eckner.net> | 2021-07-29 21:51:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-07-29 21:51:08 +0200 |
commit | fe598d432cf8bc1a1ed1f62f8bd95739f3dd4f27 (patch) | |
tree | eea1462a5b02f8b9a778c26b357f30b9960413e7 | |
parent | a7e16d9aefade0ba5e9673def55781e748b30655 (diff) | |
download | gitolite-sync-fe598d432cf8bc1a1ed1f62f8bd95739f3dd4f27.tar.xz |
fix Makefile for posix sh
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" && \ |