summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2018-07-02 19:11:57 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2018-07-02 19:11:57 +0000
commit77661728b60ff962e888a721990820a1671eb161 (patch)
treec050ff503c7df123465b8b2b5325bb23ecfa49ec /distrib/miniroot
parentcf1f53b21d90d4eed27acf345c8b51f14b33f3bb (diff)
Quote first parameter of isin().
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 3f4cbaf367c..e4aca2d723b 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1072 2018/07/01 21:00:18 rpe Exp $
+# $OpenBSD: install.sub,v 1.1073 2018/07/02 19:11:56 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -2781,7 +2781,7 @@ finish_up() {
# Run syspatch -c on reboot if the arch is supported and if it is a
# release system (not -stable or -current). List uninstalled syspatches
# on the console and in the rc.firsttime output mail.
- isin $ARCH $_syspatch_archs && cat <<__EOT >>/mnt/etc/rc.firsttime
+ isin "$ARCH" $_syspatch_archs && cat <<__EOT >>/mnt/etc/rc.firsttime
set -A _KERNV -- \$(sysctl -n kern.version |
sed 's/^OpenBSD \([0-9]\.[0-9]\)\([^ ]*\).*/\1 \2/;q')
if ((\${#_KERNV[*]} == 1)) && [[ -s /etc/installurl ]] &&