summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-12-03 17:37:34 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-12-03 17:37:34 +0100
commitffa5719da70e6314f50959bd23ff097fd3783257 (patch)
tree5506915d585ef377c012a9cf0d0a5ce3361c66b3
parent49c2cbf767ffe397c95de8d76afb7a2468f1fd5a (diff)
wibble
-rwxr-xr-xcerts/gencerts.sh11
1 files changed, 5 insertions, 6 deletions
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