[LEDE-DEV,buildbot] phase1: rename gpg signature files .gpg -> .asc

Message ID 20170303002734.9068-1-lynxis@fe80.eu
State New
Delegated to: Alexander Couzens
Headers show

Commit Message

Alexander Couzens March 3, 2017, 12:27 a.m.
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 <lynxis@fe80.eu>
---
 phase1/signall.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/phase1/signall.sh b/phase1/signall.sh
index d256131..2160bdc 100755
--- a/phase1/signall.sh
+++ b/phase1/signall.sh
@@ -27,7 +27,7 @@  find "$tmpdir/" -type f -not -name "*.gpg" -exec gpg \
 	${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