From 728e74eef60d284b91a78c2492445d43a0705ada Mon Sep 17 00:00:00 2001 From: okuji Date: Sat, 21 Oct 2000 20:46:06 +0000 Subject: [PATCH] add backslashes into continuous lines in grub-install. --- ChangeLog | 6 ++++++ THANKS | 1 + util/grub-install.in | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7b1618ce..ecabf9cd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-10-22 OKUJI Yoshinori + + From Matthias Granberry : + * util/grub-install.in (convert): Added backslashes into + continuous lines. + 2000-10-21 OKUJI Yoshinori * stage2/md5.c (check_md5_password): Removed. diff --git a/THANKS b/THANKS index 5b0a58467..d5c1dfa77 100644 --- a/THANKS +++ b/THANKS @@ -37,6 +37,7 @@ Kunihiro Ishiguro M. Meiarashi Mark Lundeberg Matt Yourst +Matthias Granberry Matthias Kretschmer Michael Hohmuth Mike Meyer diff --git a/util/grub-install.in b/util/grub-install.in index 5bc7bb5eb..99a40b006 100644 --- a/util/grub-install.in +++ b/util/grub-install.in @@ -76,9 +76,9 @@ convert () { # Break the device name into the disk part and the partition part. case "$host_os" in 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%'` - 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%'` ;; gnu*)