bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: sed or grub-install bug?]


From: Yoshinori K. Okuji
Subject: Re: address@hidden: Re: sed or grub-install bug?]
Date: Wed, 19 Feb 2003 14:02:32 +0900
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

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


Thanks,
Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]