script/addToolsVersion: fix eglibc version separator
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 13:44:43 2012 +0100 (2012-12-26)
changeset 31474a05630771d5
parent 3146 db9326d96010
child 3148 882a7e02d3d5
script/addToolsVersion: fix eglibc version separator

eglibc uses '_', not '.' to separate major/minor.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/addToolVersion.sh
     1.1 --- a/scripts/addToolVersion.sh	Wed Dec 26 11:49:49 2012 +0100
     1.2 +++ b/scripts/addToolVersion.sh	Wed Dec 26 13:44:43 2012 +0100
     1.3 @@ -141,8 +141,8 @@
     1.4              ;;
     1.5          eglibc)
     1.6              # Extract 'M'ajor and 'm'inor from version string
     1.7 -            ver_M=$(getVersionField "${version}" . 1)
     1.8 -            ver_m=$(getVersionField "${version}" . 2)
     1.9 +            ver_M=$(getVersionField "${version}" _ 1)
    1.10 +            ver_m=$(getVersionField "${version}" _ 2)
    1.11              if [   \( ${ver_M} -eq 2 -a ${ver_m} -ge 16 \)  ]; then
    1.12                  SedExpr1="${SedExpr1}\n    select LIBC_EGLIBC_2_16_or_later"
    1.13              fi