commit 6dbbe6a11a6eb82076e8346ce087a1685b672dd9 parent 8d0b7c2832d80a9a64e5ff01d0fba2c6846bbc5d Author: Demonstrandum <moi@knutsen.co> Date: Wed, 1 Jul 2020 17:17:06 +0100 More verbose repo-gen.sh Diffstat:
M | repo-gen.sh | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/repo-gen.sh b/repo-gen.sh @@ -27,7 +27,10 @@ for repo in /srv/git/*.git; do echo "git://git.knutsen.co/$repo" > "/srv/git/$repo.git/url" - "$STAGIT" "/srv/git/$repo.git" + COMMAND="$STAGIT /srv/git/$repo.git" + echo "$COMMAND" + $COMMAND done +echo "Generating index.html with \`$STAGIT_INDEX\`." "$STAGIT_INDEX" /srv/git/*.git > /var/www/git/index.html