mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
* util/grub-install.in: Fix hardcoded /dev/hda1.
This commit is contained in:
1 parent
86d5582ec2
commit
d6f4c1c620
2 files changed
+5
-1
No files matched your search
@@ -193,7 +193,7 @@ find_device () {
|
||||
|
||||
# Resolve symlinks
|
||||
while test -L $tmp_fname; do
|
||||
tmp_new_fname=`ls -al /dev/hda1 | sed -n 's%.*-> %\1%p'`
|
||||
tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> %\1%p'`
|
||||
if test -z "$tmp_new_fname"; then
|
||||
echo "Unrecognized ls output" 2>&1
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user