diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-12-26 13:44:43 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-12-26 13:44:43 +0100 |
commit | 1e449846a54578a84dd04dca2faba8d6ddec47ff (patch) | |
tree | a3994a5378a0ad91f37222f91b0f626aed17dbca | |
parent | bbe3c1ee1356eb7b01b1b5a1a55e3a70e195a23e (diff) | |
download | crosstool-ng-1e449846a54578a84dd04dca2faba8d6ddec47ff.tar.gz crosstool-ng-1e449846a54578a84dd04dca2faba8d6ddec47ff.tar.bz2 crosstool-ng-1e449846a54578a84dd04dca2faba8d6ddec47ff.zip |
script/addToolsVersion: fix eglibc version separator
eglibc uses '_', not '.' to separate major/minor.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rwxr-xr-x | scripts/addToolVersion.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh index 2b3d1300..26fdfe43 100755 --- a/scripts/addToolVersion.sh +++ b/scripts/addToolVersion.sh @@ -141,8 +141,8 @@ addToolVersion() { ;; eglibc) # Extract 'M'ajor and 'm'inor from version string - ver_M=$(getVersionField "${version}" . 1) - ver_m=$(getVersionField "${version}" . 2) + ver_M=$(getVersionField "${version}" _ 1) + ver_m=$(getVersionField "${version}" _ 2) if [ \( ${ver_M} -eq 2 -a ${ver_m} -ge 16 \) ]; then SedExpr1="${SedExpr1}\n select LIBC_EGLIBC_2_16_or_later" fi |