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 476EF159C9B for ; Fri, 2 Aug 2024 23:14:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74FE3E2A68; Fri, 2 Aug 2024 23:14:18 +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 0F3B0E2A67 for ; Fri, 2 Aug 2024 23:14:18 +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 6D88C34301F for ; Fri, 2 Aug 2024 23:14:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCAAC1EA8 for ; Fri, 2 Aug 2024 23:14:12 +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: <1722615674.50a9e6e7714c646d4347dc5b283fef0410d2616d.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: 50a9e6e7714c646d4347dc5b283fef0410d2616d X-VCS-Branch: master Date: Fri, 2 Aug 2024 23:14:12 +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: 35ca888a-7a81-4794-8b64-43c801449d42 X-Archives-Hash: b1bbd40e79cb888c1741952fd85e17d5 commit: 50a9e6e7714c646d4347dc5b283fef0410d2616d Author: Kerin Millar plushkava net> AuthorDate: Fri Aug 2 15:16:02 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 2 16:21:14 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=50a9e6e7 Adhere to the Allman style for _select_by_mtime() Signed-off-by: Kerin Millar plushkava.net> functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 4fe0e86..5ef96ae 100644 --- a/functions.sh +++ b/functions.sh @@ -629,7 +629,8 @@ _has_dumb_terminal() # # See the definitions of oldest() and newest(). # -_select_by_mtime() { +_select_by_mtime() +{ local sort_opt sort_opt=$1