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 09128158094 for ; Wed, 29 Jun 2022 16:28:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8E6EE0BA3; Wed, 29 Jun 2022 16:28:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 pigeon.gentoo.org (Postfix) with ESMTPS id ABDADE0BA2 for ; Wed, 29 Jun 2022 16:28:14 +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 9374F341A6A for ; Wed, 29 Jun 2022 16:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D443351C for ; Wed, 29 Jun 2022 16:28: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: <1656520084.10e787dc1e98652ef5c77f3da33335f003e68115.sam@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 10e787dc1e98652ef5c77f3da33335f003e68115 X-VCS-Branch: master Date: Wed, 29 Jun 2022 16:28: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: 50aca603-79a3-492b-a20b-a8abaa0fbd9e X-Archives-Hash: 4da3d74d7b5edc828f8cbc6f91001ae8 commit: 10e787dc1e98652ef5c77f3da33335f003e68115 Author: Anna Vyalkova sysrq in> AuthorDate: Sat Jun 4 04:20:57 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jun 29 16:28:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=10e787dc scripts/bootstrap-prefix.sh: use BSD stat syntax for OpenBSD Signed-off-by: Anna Vyalkova sysrq.in> Signed-off-by: Sam James gentoo.org> scripts/bootstrap-prefix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index c7de6d7ec7..f14872f6d5 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -2901,8 +2901,8 @@ EOF # GNU and BSD variants of stat take different arguments (and # format specifiers are not equivalent) case "${CHOST}" in - *-darwin* | *-freebsd*) STAT='stat -f %u/%g' ;; - *) STAT='stat -c %U/%G' ;; + *-darwin* | *-freebsd* | *-openbsd*) STAT='stat -f %u/%g' ;; + *) STAT='stat -c %U/%G' ;; esac if [[ $(${STAT} "${EPREFIX}"/.canihaswrite) != \