From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 13BE4158287 for ; Tue, 13 May 2025 00:30:23 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EEBB03435B5 for ; Tue, 13 May 2025 00:30:22 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 154231103DA; Tue, 13 May 2025 00:30:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0A5C51103DA for ; Tue, 13 May 2025 00:30:15 +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 B63FA343509 for ; Tue, 13 May 2025 00:30:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAF1E2834 for ; Tue, 13 May 2025 00:30:11 +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: <1747052932.f12a9b9df71abddf9449f8b8a26398a5df9186bb.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-functions:master commit in: / X-VCS-Repository: proj/gentoo-functions X-VCS-Files: functions.sh X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f12a9b9df71abddf9449f8b8a26398a5df9186bb X-VCS-Branch: master Date: Tue, 13 May 2025 00:30:11 +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: 1f1b3952-24d6-4b3e-b926-e23c0d6f7c0c X-Archives-Hash: 338e3b34eb3d073c2b6f11db98238b62 commit: f12a9b9df71abddf9449f8b8a26398a5df9186bb Author: Kerin Millar plushkava net> AuthorDate: Mon May 12 12:28:52 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 12 12:28:52 2025 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=f12a9b9d Correct a comment typo in srandom() Signed-off-by: Kerin Millar plushkava.net> functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 2af4a24..71d076d 100644 --- a/functions.sh +++ b/functions.sh @@ -583,7 +583,7 @@ srandom() { # The SRANDOM variable was introduced by bash 5.1. Check for at least # 5.0 before comparing two expansions thereof. Doing so is safe because - # bash discards numbers that are equal to whicever was last generated. + # bash discards numbers that are equal to whichever was last generated. # # shellcheck disable=3028 if [ "${BASH_VERSINFO-0}" -ge 5 ] && [ "${SRANDOM}" != "${SRANDOM}" ]; then