diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-05-22 01:48:39 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-05-22 01:48:39 +0000 |
commit | a5ef42bdd040c4c90002e3232ae6704e9bc3a721 (patch) | |
tree | 731616751c222037852ffa58f6fdc9c114cd2ab6 /distrib/miniroot/install.sub | |
parent | 0156058dec1d0f6b817f96f4c8bc0bc89f674e14 (diff) |
Fix quoting botch in earlier commit. Make sure MDDISKDEVS and
MDCDDEVS actually work with non-empty values as well as the
supplied default this time.
Problem first detected by jsyn@.
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 0480f999e8e..5c2023e4e43 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.224 2002/05/20 16:53:57 krw Exp $ +# $OpenBSD: install.sub,v 1.225 2002/05/22 01:48:38 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback @@ -158,11 +158,11 @@ __EOT } get_diskdevs() { - bsort `sed -ne ${MDDISKDEVS:-'/^[sw]d[0-9][0-9]* /s/ .*//p'} /tmp/dmesg.boot` + bsort `sed -ne "${MDDISKDEVS:-/^[sw]d[0-9][0-9]* /s/ .*//p}" /tmp/dmesg.boot` } get_cddevs() { - bsort `sed -ne ${MDCDDEVS:-'/^cd[0-9][0-9]* /s/ .*//p'} /tmp/dmesg.boot` + bsort `sed -ne "${MDCDDEVS:-/^cd[0-9][0-9]* /s/ .*//p}" /tmp/dmesg.boot` } # Ask for a password, saving the input in $resp. |