summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpe <rpe@openbsd.org>2018-07-02 19:11:56 +0000
committerrpe <rpe@openbsd.org>2018-07-02 19:11:56 +0000
commit9ed13f9e2cf78b0ff4671629e9488581439db3bd (patch)
tree59e5a02e32bcf881f253ff3835c3f48f91ee3c4d
parentAdd @acpi attachment. (diff)
downloadwireguard-openbsd-9ed13f9e2cf78b0ff4671629e9488581439db3bd.tar.xz
wireguard-openbsd-9ed13f9e2cf78b0ff4671629e9488581439db3bd.zip
Quote first parameter of isin().
-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 ]] &&