[Fedora-livecd-list] [PATCH] Fixed buggy [[ "$DEV" =~ "/dev/loop*" ]] tests with new isdevloop() function

Bruno Wolff III bruno at wolff.to
Mon Sep 13 14:34:53 UTC 2010


On Mon, Sep 13, 2010 at 14:13:53 +0100,
  Marc Herbert <Marc.Herbert at gmail.com> wrote:
> >>> This was accidentally working in old bash versions, not anymore in
> >>> Fedora 13's bash 4.1.7. Now using proper prefix matching instead of
> >>> the previous regex matching disguised as pattern matching.
> 
> >> This broke due to a documented change in bash. More details here:
> >>
> >>   http://thread.gmane.org/gmane.comp.shells.bash.bugs/15080
> 
> > The patch has been committed upstream.
> 
> Bruno,
> 
>   Only the first hunk of this patch has been committed, the last three
> other hunks (with the same bug) have not.
> 
> There was also a fifth hunk added by Jasper here:
>    http://article.gmane.org/gmane.linux.redhat.fedora.livecd/3842
> This fifth hunk is not committed either.

Thanks. I'll look at this tonight.


More information about the livecd mailing list