/[grub]/grub/util/grub-install.in
ViewVC logotype

Diff of /grub/util/grub-install.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by okuji, Mon May 20 11:48:03 2002 UTC revision 1.38 by okuji, Wed Feb 19 23:26:46 2003 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2    
3  # Install GRUB on your drive.  # Install GRUB on your drive.
4  #   Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc.  #   Copyright (C) 1999,2000,2001,2002,2003 Free Software Foundation, Inc.
5  #  #
6  # This file is free software; you can redistribute it and/or modify it  # This file is free software; you can redistribute it and/or modify it
7  # under the terms of the GNU General Public License as published by  # under the terms of the GNU General Public License as published by
# Line 193  find_device () { Line 193  find_device () {
193    
194      # Resolve symlinks      # Resolve symlinks
195      while test -L $tmp_fname; do      while test -L $tmp_fname; do
196          tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> %\1%p'`          tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> \(.*\)%\1%p'`
197          if test -z "$tmp_new_fname"; then          if test -z "$tmp_new_fname"; then
198              echo "Unrecognized ls output" 2>&1              echo "Unrecognized ls output" 2>&1
199              exit 1              exit 1

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26