* util/grub-install.in: Fix hardcoded /dev/hda1.

This commit is contained in:
proski 2002-04-06 22:30:18 +00:00
parent 86d5582ec2
commit d6f4c1c620
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-04-06 Pavel Roskin <proski@gnu.org>
* util/grub-install.in: Fix hardcoded /dev/hda1.
2002-04-06 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/builtins.c [GRUB_UTIL] (dump_func): New function.

View file

@ -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