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

Bruno Wolff III bruno at wolff.to
Sun Sep 12 01:03:10 UTC 2010


On Wed, Aug 04, 2010 at 11:58:36 +0100,
  Marc Herbert <Marc.Herbert at gmail.com> wrote:
> Le 03/08/2010 17:12, Marc Herbert a écrit :
> > 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
> 
> Or better: do not bother reading and avoid advanced, non-portable
> and evolving bash features when basic features are enough (= apply my
> patch).

The patch has been committed upstream.


More information about the livecd mailing list