diff options
author | 2011-02-19 10:18:03 +0000 | |
---|---|---|
committer | 2011-02-19 10:18:03 +0000 | |
commit | b54528fb103a7d7e9a04227b797524684ddc9f3b (patch) | |
tree | 0d74a6175bed524d23c47865fd70e211e8c1b3a0 | |
parent | alc_newbuf is always called from the interrupt context so it can't sleep; (diff) | |
download | wireguard-openbsd-b54528fb103a7d7e9a04227b797524684ddc9f3b.tar.xz wireguard-openbsd-b54528fb103a7d7e9a04227b797524684ddc9f3b.zip |
Fix previous ``fix'' - since the hw.model sysctl does not return a number
after all, we need to use a regular [[ ]] construct instead of (( )).
-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 |