[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]

 



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
-- 
1.6.6

_______________________________________________
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