commit:     f12a9b9df71abddf9449f8b8a26398a5df9186bb
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Mon May 12 12:28:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <kfm <AT> 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

Reply via email to