From ffa5719da70e6314f50959bd23ff097fd3783257 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 3 Dec 2015 17:37:34 +0100 Subject: wibble --- certs/gencerts.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'certs/gencerts.sh') diff --git a/certs/gencerts.sh b/certs/gencerts.sh index dec0860..e129733 100755 --- a/certs/gencerts.sh +++ b/certs/gencerts.sh @@ -88,6 +88,7 @@ src2=$(mktemp --tmpdir) mdwn="${asc%.asc}.mdwn" mdwn2=$(mktemp --tmpdir) DIR="$(dirname "$0")/public" +VCS_BROWSER='https://git.fripost.org/fripost-ansible' trap 'rm -f "$src" "$src2" "$asc2" "$mdwn2"' EXIT if [ -s "$asc" ]; then @@ -105,7 +106,7 @@ immediately! -- admin@fripost.org All our X.509 certificates are available in PEM format under - https://git.fripost.org/fripost-ansible/tree/certs/public , + $VCS_BROWSER/tree/certs/public , Git repository from which this fingerprint list was generated, at commit ID $(git --no-pager --git-dir="$DIR/../../.git" --work-tree="$DIR" log -1 --pretty=format:'%h from %aD' -- "$DIR"). @@ -127,11 +128,9 @@ immediately! (See also the [[signed version of this page|certs.asc]].) All our X.509 certificates are available in PEM format under our -[[Git repository|https://git.fripost.org/fripost-ansible/tree/certs/public]], -from which this fingerprint list was -[[generated|https://git.fripost.org/fripost-ansible/tree/certs/gencerts.sh]], -at $(git --no-pager --git-dir="$DIR/../../.git" --work-tree="$DIR" log -1 \ ---pretty=format:'[[Commit ID %h from %aD|https://git.fripost.org/fripost-ansible/tree/certs/public?id=%H]]' -- "$DIR"). +[[Git repository|$VCS_BROWSER/tree/certs/public]], +from which this fingerprint list was [[generated|$VCS_BROWSER/tree/certs/gencerts.sh]], at +$(git --no-pager --git-dir="$DIR/../../.git" --work-tree="$DIR" log -1 --pretty=format:"[[Commit ID %h from %aD|$VCS_BROWSER/tree/certs/public?id=%H]]" -- "$DIR"). EOF -- cgit v1.2.3