2004-07-16 Yoshinori K. Okuji <okuji@enbug.org>
* util/grub-install.in (convert): Fix the sed statement for Linux. The expression was ambigious in some cases.
This commit is contained in:
parent
b929761836
commit
e92d461e1c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-07-16 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* util/grub-install.in (convert): Fix the sed statement for
|
||||
Linux. The expression was ambigious in some cases.
|
||||
|
||||
2004-06-29 Robert Millan <robertmh@gnu.org>
|
||||
|
||||
* util/grub-set-default.in: Fix minor syntax error (non-escaped
|
||||
|
|
|
@ -102,11 +102,11 @@ convert () {
|
|||
-e 's%/part[0-9]*$%/disc%' \
|
||||
-e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
|
||||
tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
|
||||
-e 's%.*d[0-9]*p*%%' \
|
||||
-e 's%.*d[0-9]*p%%' \
|
||||
-e 's%.*/fd[0-9]*$%%' \
|
||||
-e 's%.*/floppy/[0-9]*$%%' \
|
||||
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
|
||||
-e 's%.*c[0-7]d[0-9]*p*%%'`
|
||||
-e 's%.*c[0-7]d[0-9]*p%%'`
|
||||
;;
|
||||
gnu*)
|
||||
tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue