From: Alexander Couzens Date: Fri, 3 Mar 2017 00:27:34 +0000 (+0100) Subject: phase1: rename gpg signature files .gpg -> .asc X-Git-Tag: v1~166 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5f1f34372b5172e62370e46cd7af8b686e66f92d;p=buildbot.git phase1: rename gpg signature files .gpg -> .asc gnupg doesn't recognize .gpg files by it's extension. > gpg --verify sha256sums.gpg >> gpg: no signed data >> gpg: can't hash datafile: No data Signed-off-by: Alexander Couzens --- diff --git a/phase1/signall.sh b/phase1/signall.sh index d256131..519a7d6 100755 --- a/phase1/signall.sh +++ b/phase1/signall.sh @@ -21,13 +21,13 @@ umask 022 mkdir "$tmpdir" || finish 2 tar -C "$tmpdir/" -xzf "$tarball" || finish 3 -find "$tmpdir/" -type f -not -name "*.gpg" -exec gpg \ +find "$tmpdir/" -type f -not -name "*.asc" -exec gpg \ --no-version --batch --yes -a -b \ ${keyid:+-u "$keyid"} \ ${comment:+--comment="$comment"} \ ${GNUPGHOME:+--homedir "$GNUPGHOME"} \ ${PASSFILE:+--passphrase-file "$PASSFILE"} \ - -o "{}.gpg" "{}" \; || finish 4 + -o "{}.asc" "{}" \; || finish 4 tar -C "$tmpdir/" -czf "$tarball" . || finish 5