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

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

No files matched your search

+1 -1
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