pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap bootstrap: Remove unused variable.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6edbae0111da
branches:  trunk
changeset: 770347:6edbae0111da
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Nov 29 18:32:51 2021 +0000

description:
bootstrap: Remove unused variable.

diffstat:

 bootstrap/bootstrap |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a2e05b44611b -r 6edbae0111da bootstrap/bootstrap
--- a/bootstrap/bootstrap       Mon Nov 29 17:20:13 2021 +0000
+++ b/bootstrap/bootstrap       Mon Nov 29 18:32:51 2021 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.303 2021/11/12 20:29:05 nia Exp $
+# $NetBSD: bootstrap,v 1.304 2021/11/29 18:32:51 jperkin Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -589,7 +589,6 @@
        machine_arch=`get_machine_arch_darwin`
        CC=${CC:-"cc -isystem /usr/include"}; export CC
        check_compiler=yes
-       osrev=`uname -r`
 
        # Combine major.minor product version for simpler numerical tests.
        macos_version=`sw_vers -productVersion | \
@@ -610,7 +609,7 @@
                need_mksh=yes
        fi
 
-       unset osrev macos_version
+       unset macos_version
        ;;
 DragonFly)
        root_group=wheel



Home | Main Index | Thread Index | Old Index