Re: [PATCH 1/2] Update =~ regexps in lsznet.raw for bash-4.1 (#558537).

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

 



Ack. Thanks.

On 01/29/2010 12:31 AM, David Cantrell wrote:
> Same problem that was present in linuxrc.s390.
> ---
>  loader/lsznet.raw |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/loader/lsznet.raw b/loader/lsznet.raw
> index fad515f..a954153 100644
> --- a/loader/lsznet.raw
> +++ b/loader/lsznet.raw
> @@ -99,7 +99,7 @@ function build_list() {
>      while read dir; do
>          debug 6 " examining sysfs directory $dir"
>          # must not use $...FORMAT (file globs) here since this is a regex:
> -        [[ "$dir" =~ ^css\([[:xdigit:]]+\)/\([[:xdigit:]]+\\.[0-3]\\.[[:xdigit:]]{4}\)/\([[:xdigit:]]+\\.[0-3]\\.[[:xdigit:]]{4}\)$ ]]
> +        [[ "$dir" =~ ^css([[:xdigit:]]+)/([[:xdigit:]]+\.[0-3]\.[[:xdigit:]]{4})/([[:xdigit:]]+\.[0-3]\.[[:xdigit:]]{4})$ ]]
>          case $? in
>              0)
>                  # string matched the pattern

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux