Here is the response: ----- Forwarded message from Leo Laursen <[EMAIL PROTECTED]> -----
> Date: Wed, 19 Feb 2003 07:43:56 +0100 > From: Leo Laursen <[EMAIL PROTECTED]> > To: Jason Thomas <[EMAIL PROTECTED]> > Subject: Re: [[EMAIL PROTECTED]: [Bug-grub] Re: [[EMAIL PROTECTED]: Re: sed or >grub-install bug?]] > > Den 19-02 2003 kl. 04:32:02 +1100, skrev Jason Thomas: > > > Ok. Does this patch fix the bug? > > > > Index: util/grub-install.in > > > =================================================================== > > > RCS file: /cvsroot/grub/grub/util/grub-install.in,v > > > retrieving revision 1.37 > > > diff -u -r1.37 grub-install.in > > > --- util/grub-install.in 20 May 2002 11:48:03 -0000 1.37 > > > +++ util/grub-install.in 19 Feb 2003 05:01:45 -0000 > > > @@ -193,7 +193,7 @@ > > > > # Resolve symlinks > > > while test -L $tmp_fname; do > > > - tmp_new_fname=`ls -al $tmp_fname | 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 > > Yes if fixes the problem. > Clint Adams sugested this: > - tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> %\1%p'` > + tmp_new_fname=`readlink $tmp_fname` > > which works as well. > > Thanks > Leo > -- > Rules for Academic Deans: > (1) HIDE!!!! > (2) If they find you, LIE!!!! > -- Father Damian C. Fandal ----- End forwarded message ----- -- Jason Thomas Phone: +61 2 6257 7111 Unix System Administrator Fax: +61 2 6257 7311 tSA Consulting Group Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.topic.com.au/ _______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub