From 381adad5b083e1b7d791440c9554bce866439d00 Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 4 Feb 2016 13:45:24 +0000 Subject: Fix PowerPC 32-bit case. --- bootstrap/bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap/bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index a4e91ea2a5a..a4c114abbf8 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.227 2016/01/24 16:14:44 jperkin Exp $ +# $NetBSD: bootstrap,v 1.228 2016/02/04 13:45:24 jperkin Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -222,7 +222,7 @@ get_machine_arch_darwin() ;; powerpc) # sysctl mib exists on 64-bit hardware - if [ `sysctl -n hw.optional.64bitops 2>/dev/null` = "1" ]; then + if [ -n "`sysctl -n hw.optional.64bitops 2>/dev/null`" ]; then echo "powerpc64" else echo "powerpc" -- cgit v1.2.3