diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-02-19 10:18:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-02-19 10:18:04 +0000 |
commit | a2f881fe3ecbf1502925d3afee0a32d1cd0b3272 (patch) | |
tree | 3621104e827a8c1907a08a766ca961af40842ae4 /distrib/sgi/ramdisk | |
parent | 19cfd342b7f1f89a71a094fe68345728572980dc (diff) |
Fix previous ``fix'' - since the hw.model sysctl does not return a number
after all, we need to use a regular [[ ]] construct instead of (( )).
Diffstat (limited to 'distrib/sgi/ramdisk')
-rw-r--r-- | distrib/sgi/ramdisk/install.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/sgi/ramdisk/install.md b/distrib/sgi/ramdisk/install.md index 047bd9bfc31..8a9ad3cbc8a 100644 --- a/distrib/sgi/ramdisk/install.md +++ b/distrib/sgi/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.25 2011/02/06 21:50:44 miod Exp $ +# $OpenBSD: install.md,v 1.26 2011/02/19 10:18:03 miod Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ MDSETS="bsd.${IPARCH} bsd.rd.${IPARCH}" SANESETS="bsd.${IPARCH}" # Since we do not provide bsd.mp on IP27 yet, do not add bsd.mp.IP27 to the # sets, as this will cause a warning in sane_install() -if ((NCPU > 1)) && ((IPARCH == IP30)); then +if ((NCPU > 1)) && [[ $IPARCH = IP30 ]]; then MDSETS="${MDSETS} bsd.mp.${IPARCH}" SANESETS="${SANESETS} bsd.mp.${IPARCH}" fi |