commit:     3514dcddc225dd2170cd162d1d68165995eedf8e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  3 03:22:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  3 03:22:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3514dcdd

bootstrap-prefix.sh: fix typo in profile

Signed-off-by: Sam James <sam <AT> 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 11a042315b..cbe4aa6543 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -390,7 +390,7 @@ bootstrap_setup() {
                x86_64-apple-darwin2[123456789])
                        # Monterey is 12.0
                        rev=${CHOST##*darwin}
-                       profile="prefix/darwin/macos/12.$((rev - 20))/x64"
+                       profile="prefix/darwin/macos/12.$((rev - 21))/x64"
                        ;;
                arm64-apple-darwin20)
                        rev=${CHOST##*darwin}
@@ -399,7 +399,7 @@ bootstrap_setup() {
                x86_64-apple-darwin2[123456789])
                        # Monterey is 12.0
                        rev=${CHOST##*darwin}
-                       profile="prefix/darwin/macos/12.$((rev - 20))/x64"
+                       profile="prefix/darwin/macos/12.$((rev - 21))/x64"
                        ;;
                i*86-pc-linux-gnu)
                        profile=${profile_linux/ARCH/x86}

Reply via email to