add backslashes into continuous lines in grub-install.

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

No files matched your search

+2 -2
View File
@@ -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*)