mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
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:
1 parent
b929761836
commit
e92d461e1c
2 files changed
+7
-2
No files matched your search
@@ -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>
|
2004-06-29 Robert Millan <robertmh@gnu.org>
|
||||||
|
|
||||||
* util/grub-set-default.in: Fix minor syntax error (non-escaped
|
* util/grub-set-default.in: Fix minor syntax error (non-escaped
|
||||||
|
|||||||
@@ -102,11 +102,11 @@ convert () {
|
|||||||
-e 's%/part[0-9]*$%/disc%' \
|
-e 's%/part[0-9]*$%/disc%' \
|
||||||
-e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
|
-e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
|
||||||
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%.*d[0-9]*p*%%' \
|
-e 's%.*d[0-9]*p%%' \
|
||||||
-e 's%.*/fd[0-9]*$%%' \
|
-e 's%.*/fd[0-9]*$%%' \
|
||||||
-e 's%.*/floppy/[0-9]*$%%' \
|
-e 's%.*/floppy/[0-9]*$%%' \
|
||||||
-e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
|
-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*)
|
gnu*)
|
||||||
tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`
|
tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`
|
||||||
|
|||||||
Reference in new issue
Block a user