[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(no subject)
From: |
matthias |
Subject: |
(no subject) |
Date: |
21 Oct 2000 06:45:54 -0000 |
The sed lines in grub-install get broken into two lines, leaving lots
of error messages. Here is the two-character patch ;)
Matthias
--- grub/util/grub-install.in 2000/10/15 18:24:58 1.22
+++ grub/util/grub-install.in 2000/10/21 06:32:05
@@ -76,9 +76,9 @@
# 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*)
- (no subject),
matthias <=