add backslashes into continuous lines in grub-install.

This commit is contained in:
okuji 2000-10-21 20:46:06 +00:00
parent 4928cfdad2
commit 728e74eef6
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2000-10-22 OKUJI Yoshinori <okuji@gnu.org>
From Matthias Granberry <matthias@slurpee.org>:
* util/grub-install.in (convert): Added backslashes into
continuous lines.
2000-10-21 OKUJI Yoshinori <okuji@gnu.org> 2000-10-21 OKUJI Yoshinori <okuji@gnu.org>
* stage2/md5.c (check_md5_password): Removed. * stage2/md5.c (check_md5_password): Removed.

1
THANKS
View file

@ -37,6 +37,7 @@ Kunihiro Ishiguro <kunihiro@zebra.org>
M. Meiarashi <mes@st.rim.or.jp> M. Meiarashi <mes@st.rim.or.jp>
Mark Lundeberg <aa026@pgfn.bc.ca> Mark Lundeberg <aa026@pgfn.bc.ca>
Matt Yourst <yourst@mit.edu> Matt Yourst <yourst@mit.edu>
Matthias Granberry <matthias@slurpee.org>
Matthias Kretschmer <m.kretschmer@bsdger.org> Matthias Kretschmer <m.kretschmer@bsdger.org>
Michael Hohmuth <hohmuth@innocent.com> Michael Hohmuth <hohmuth@innocent.com>
Mike Meyer <mwm@mired.org> Mike Meyer <mwm@mired.org>

View file

@ -76,9 +76,9 @@ convert () {
# Break the device name into the disk part and the partition part. # Break the device name into the disk part and the partition part.
case "$host_os" in case "$host_os" in
linux*) linux*)
tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
-e 's%/part[0-9]*$%/disc%'` -e 's%/part[0-9]*$%/disc%'`
tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'` -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'`
;; ;;
gnu*) gnu*)