pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap bootstrap: Fix numerical calculation on Big ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/342287a70ad8
branches: trunk
changeset: 440363:342287a70ad8
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Oct 07 10:44:14 2020 +0000
description:
bootstrap: Fix numerical calculation on Big Sur.
diffstat:
bootstrap/bootstrap | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r b5e310c309d8 -r 342287a70ad8 bootstrap/bootstrap
--- a/bootstrap/bootstrap Wed Oct 07 10:15:02 2020 +0000
+++ b/bootstrap/bootstrap Wed Oct 07 10:44:14 2020 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.293 2020/08/29 20:11:21 js Exp $
+# $NetBSD: bootstrap,v 1.294 2020/10/07 10:44:14 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -562,7 +562,8 @@
osrev=`uname -r`
# Combine major.minor product version for simpler numerical tests.
- macos_version=`sw_vers -productVersion | awk -F. '{print $1 $2}'`
+ macos_version=`sw_vers -productVersion | \
+ awk -F. '{ printf("%02d%02d", $1, $2) }'`
# Newer native sed does not support multibyte correctly.
if [ $macos_version -ge 1008 ]; then
Home |
Main Index |
Thread Index |
Old Index