From f01876604da167b36780e53ce54cd89c8f9d5f85 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 3 Dec 2018 03:20:51 +0100 Subject: certs/gencerts.sh: wibble --- certs/gencerts.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'certs') diff --git a/certs/gencerts.sh b/certs/gencerts.sh index 576d9ae..b25a7d3 100755 --- a/certs/gencerts.sh +++ b/certs/gencerts.sh @@ -5,8 +5,6 @@ PATH=/usr/bin:/bin if [ -n "${GNUPGBIN:-}" ]; then GPG="$GNUPGBIN" -elif [ -x /usr/bin/gpg2 ]; then - GPG=/usr/bin/gpg2 else GPG=gpg fi @@ -168,7 +166,7 @@ allfpr mdwn >>"$mdwn2" echo >>"$src2" -if diff -u --label "a/${asc%.asc}" --label "b/${asc%.asc}" -- "$src" "$src2" && +if diff -u --color=auto --label "a/${asc%.asc}" --label "b/${asc%.asc}" -- "$src" "$src2" && diff -q -- "$mdwn" "$mdwn2" >/dev/null; then echo 'The fingerprint list is up to date.' else -- cgit v1.2.3