mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
fix a floppy device name bug in grub-install.
This commit is contained in:
1 parent
505fa5c440
commit
e92b021096
2 files changed
+10
-1
No files matched your search
@@ -73,7 +73,7 @@ convert () {
|
||||
# Break the device name into the disk part and the partition part.
|
||||
case "$host_os" in
|
||||
linux*)
|
||||
tmp_disk=`echo "$1" | sed 's%[0-9]*$%%'`
|
||||
tmp_disk=`echo "$1" | sed 's%\([sh]d[a-z]\)[0-9]*$%\1%'`
|
||||
tmp_part=`echo "$1" | sed "s%$tmp_disk%%"` ;;
|
||||
gnu*)
|
||||
tmp_disk=`echo "$1" | sed 's%s[0-9]*[a-g]?%%'`
|
||||
|
||||
Reference in new issue
Block a user