Skip to content

Commit 18728e9

Browse files
committed
Simplified calls to gpg2
1 parent 739a9d4 commit 18728e9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: arduino_sources_gpg_pubkey.key

2.16 KB
Binary file not shown.

Diff for: package-arduino-preprocessor.bash

+1-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ function fetch_llvm {
4343
if [ ! -f "$fetched.asc" ]; then
4444
wget "$1.asc"
4545
fi
46-
keyfile=$(mktemp --suffix=.gpg)
47-
gpg2 --yes -o "$keyfile" --dearmor "arduino_sources_gpg_pubkey.asc"
48-
gpg2 --status-fd 1 --no-default-keyring --keyring "$keyfile" --trust-model always --verify "$fetched.asc"
49-
rm "$keyfile"
46+
gpg2 --status-fd 1 --no-default-keyring --homedir . --keyring "arduino_sources_gpg_pubkey.key" --trust-model always --verify "$fetched.asc"
5047

5148
rm -rf clang
5249
mkdir clang

0 commit comments

Comments
 (0)