From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC361158094 for ; Sat, 16 Jul 2022 18:29:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C87DE0F62; Sat, 16 Jul 2022 18:29:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00146E0F62 for ; Sat, 16 Jul 2022 18:29:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 07D51340D8B for ; Sat, 16 Jul 2022 18:29:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71F87448 for ; Sat, 16 Jul 2022 18:29:46 +0000 (UTC) From: "Sam James" 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" Message-ID: <1657996174.d4ae674f7a280c1f04ede58320c5c30ba31024c6.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: d4ae674f7a280c1f04ede58320c5c30ba31024c6 X-VCS-Branch: master Date: Sat, 16 Jul 2022 18:29:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b8ba7948-a1be-41bd-bf18-d4f3154ad691 X-Archives-Hash: e79a456a4ebcd5f0926aedcbda32d60e commit: d4ae674f7a280c1f04ede58320c5c30ba31024c6 Author: Sam James gentoo org> AuthorDate: Sat Jul 16 18:29:34 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 16 18:29:34 2022 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d4ae674f keyrings-export.bash: avoid ln -f (fix mismatched check) Signed-off-by: Sam James gentoo.org> keyrings-export.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyrings-export.bash b/keyrings-export.bash index 0f36800..815c50b 100755 --- a/keyrings-export.bash +++ b/keyrings-export.bash @@ -46,9 +46,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 "${OUTPUT_DIR}"/keys/${key}.gpg ]] ; then + if [[ ! -L "${OUTPUT_DIR}"/${key}.gpg ]] ; then # Compatibility symlink - ln -sf "${OUTPUT_DIR}"/keys/${key}.gpg "${OUTPUT_DIR}"/${key}.gpg + ln -s "${OUTPUT_DIR}"/keys/${key}.gpg "${OUTPUT_DIR}"/${key}.gpg fi timestamp=$(date -u +%Y%m%d -d "monday")