diff options
author | 2009-04-30 01:01:56 +0000 | |
---|---|---|
committer | 2009-04-30 01:01:56 +0000 | |
commit | ac80116bf3eb8f592ca0b0f969e559a881e2ba96 (patch) | |
tree | 3f7b1efe475b715a7d5028d73b5ff3d39aa86cfb | |
parent | Prime mountpoint info with any fstab info that is available, with (diff) | |
download | wireguard-openbsd-ac80116bf3eb8f592ca0b0f969e559a881e2ba96.tar.xz wireguard-openbsd-ac80116bf3eb8f592ca0b0f969e559a881e2ba96.zip |
quotes around ? matches; Alexander Hall
-rw-r--r-- | distrib/miniroot/install.sh | 2 | ||||
-rw-r--r-- | distrib/miniroot/install.sub | 8 |
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 |