From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1417282-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 23992158094
	for <garchives@archives.gentoo.org>; Mon, 11 Jul 2022 01:42:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 500ADE091F;
	Mon, 11 Jul 2022 01:42:10 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 303FBE091F
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jul 2022 01:42:10 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 01BE2340F77
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jul 2022 01:42:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CBD2105
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jul 2022 01:42:07 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1657503719.89f4e8e0d6ce3be550ca01a8397763ad9efae9ca.sam@gentoo>
Subject: [gentoo-commits] proj/qa-scripts:master commit in: /
X-VCS-Repository: proj/qa-scripts
X-VCS-Files: keyrings-export.bash
X-VCS-Directories: /
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 89f4e8e0d6ce3be550ca01a8397763ad9efae9ca
X-VCS-Branch: master
Date: Mon, 11 Jul 2022 01:42:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 367c5ce1-284e-45c7-8205-20f1e7898291
X-Archives-Hash: d8a08d3a80c8060d18b948d7230f7b4a

commit:     89f4e8e0d6ce3be550ca01a8397763ad9efae9ca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 01:41:59 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 01:41:59 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=89f4e8e0

keyrings-export.bash: use ${OUTPUT_DIR}

Signed-off-by: Sam James <sam <AT> gentoo.org>

 keyrings-export.bash | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/keyrings-export.bash b/keyrings-export.bash
index aee9af2..7445644 100755
--- a/keyrings-export.bash
+++ b/keyrings-export.bash
@@ -42,9 +42,9 @@ export_keys "${OUTPUT_DIR}"/keys/all-devs.gpg \
 	"${RETIRED_DEVS[@]}"
 
 for key in service-keys committing-devs active-devs infra-devs retired-devs all-devs ; do
-	if [[ ! -L keys/${key}.gpg ]] ; then
+	if [[ ! -L "${OUTPUT_DIR}"/keys/${key}.gpg ]] ; then
 		# Compatibility symlink
-		ln -s keys/${key}.gpg ${key}.gpg
+		ln -s "${OUTPUT_DIR}"/keys/${key}.gpg "${OUTPUT_DIR}"/${key}.gpg
 	fi
 
 	timestamp=$(date -u +%Y%m%d -d "monday")