Skip to content

Commit

Permalink
Removing code duplication
Browse files Browse the repository at this point in the history
And I'm asking the original committer for a review, to make sure
this isn't a deliberate duplication.

Signed-off-by: Adam Farley <adfarley@redhat.com>
  • Loading branch information
adamfarley committed Nov 3, 2023
1 parent 6b3cf56 commit 8bf60d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/prepareWorkspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ checkingAndDownloadingAlsa() {

echo "GNUPGHOME=$GNUPGHOME"
mkdir -p "$GNUPGHOME" && chmod og-rwx "$GNUPGHOME"
gpg --keyserver keyserver.ubuntu.com --recv-keys "${ALSA_LIB_GPGKEYID}"
# Should we clear this directory up after checking?
# Would this risk removing anyone's existing dir with that name?
# Erring on the side of caution for now
gpg --keyserver keyserver.ubuntu.com --keyserver-options timeout=300 --recv-keys "${ALSA_LIB_GPGKEYID}"
echo "Proof of timeout change."
echo -e "5\ny\n" | gpg --batch --command-fd 0 --expert --edit-key "${ALSA_LIB_GPGKEYID}" trust;
gpg --verify alsa-lib.tar.bz2.sig alsa-lib.tar.bz2 || exit 1

Expand Down

0 comments on commit 8bf60d2

Please sign in to comment.