diff options
author | planetmaker <planetmaker@openttd.org> | 2012-05-09 19:13:34 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2012-05-09 19:13:34 +0000 |
commit | 640ff642ae5d4b128a38ad748955e2b34a952de4 (patch) | |
tree | 5faf794dcb9cbf3b690382402c985499fa89a46b | |
parent | 5bfed864a08dce717e2658786948e6659872b8d4 (diff) | |
download | openttd-640ff642ae5d4b128a38ad748955e2b34a952de4.tar.xz |
(svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index 422db110b..e29d54559 100644 --- a/config.lib +++ b/config.lib @@ -2864,7 +2864,7 @@ detect_icu() { version=`$icu_config --version 2>/dev/null` ret=$? - shortversion=`echo $version | cut -c 1,3` + shortversion=`echo $version | cut -d\. -f1,2 | sed "s/\.//g" | cut -c1-2` log 2 "executing $icu_config --version" log 2 " returned $version" log 2 " exit code $ret" |