summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-04-30 01:01:56 +0000
committerderaadt <deraadt@openbsd.org>2009-04-30 01:01:56 +0000
commitac80116bf3eb8f592ca0b0f969e559a881e2ba96 (patch)
tree3f7b1efe475b715a7d5028d73b5ff3d39aa86cfb
parentPrime mountpoint info with any fstab info that is available, with (diff)
downloadwireguard-openbsd-ac80116bf3eb8f592ca0b0f969e559a881e2ba96.tar.xz
wireguard-openbsd-ac80116bf3eb8f592ca0b0f969e559a881e2ba96.zip
quotes around ? matches; Alexander Hall
-rw-r--r--distrib/miniroot/install.sh2
-rw-r--r--distrib/miniroot/install.sub8
2 files changed, 5 insertions, 5 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index 3552ab8cde7..04bdf022578 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sh,v 1.175 2009/04/29 22:45:20 deraadt Exp $
+# $OpenBSD: install.sh,v 1.176 2009/04/30 01:01:56 deraadt Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index d3db12abf7f..d49cf296871 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.500 2009/04/30 00:28:22 deraadt Exp $
+# $OpenBSD: install.sub,v 1.501 2009/04/30 01:01:56 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -83,7 +83,7 @@ set_term() {
while :; do
ask "kbd(8) mapping? ('?' for list)" "none"
case $resp in
- ?) echo "Major tables: $_tables" ;;
+ "?") echo "Major tables: $_tables" ;;
none) return ;;
*) kbd $resp && { echo $resp >/tmp/kbdtype ; return ; } ;;
esac
@@ -1365,7 +1365,7 @@ set_timezone() {
ask "What timezone are you in? ('?' for list)" "$TZ"
- if [[ $resp == ? ]]; then
+ if [[ $resp == "?" ]]; then
ls -F ${_zonepath}
continue;
fi
@@ -1376,7 +1376,7 @@ set_timezone() {
ask "What sub-timezone of '${_zonepath#$_zoneroot}' are you in? ('?' for list)"
case $resp in
"") ;;
- ?) ls -F $_zonepath ;;
+ "?") ls -F $_zonepath ;;
*) _zonepath=$_zonepath/$resp ;;
esac
done