mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
(svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49
This commit is contained in:
parent
5bfed864a0
commit
640ff642ae
@ -2864,7 +2864,7 @@ detect_icu() {
|
|||||||
|
|
||||||
version=`$icu_config --version 2>/dev/null`
|
version=`$icu_config --version 2>/dev/null`
|
||||||
ret=$?
|
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 "executing $icu_config --version"
|
||||||
log 2 " returned $version"
|
log 2 " returned $version"
|
||||||
log 2 " exit code $ret"
|
log 2 " exit code $ret"
|
||||||
|
Loading…
Reference in New Issue
Block a user