Fix contrib make target

Set shell explicitly as it doesn't work with the default shell on Debian.
This commit is contained in:
Erik Flodin 2020-12-29 15:38:51 +01:00
parent 53e3288234
commit 22d5e03657
No known key found for this signature in database
GPG Key ID: 420A7C865EE3F85F
1 changed files with 2 additions and 1 deletions

View File

@ -172,8 +172,9 @@ yadm.md: yadm.1
@groff -man -Tascii ./yadm.1 | col -bx | sed 's/^[A-Z]/## &/g' | sed '/yadm(1)/d' > yadm.md
.PHONY: contrib
contrib: SHELL = /bin/bash
contrib:
@echo "CONTRIBUTORS\n" > CONTRIBUTORS
@echo -e "CONTRIBUTORS\n" > CONTRIBUTORS
@IFS=$$'\n'; for author in $$(git shortlog -ns master gh-pages develop dev-pages | cut -f2); do \
git log master gh-pages develop dev-pages \
--author="$$author" --format=tformat: --numstat | \