diff --git a/tools/release_checks.pike b/tools/release_checks.pike index 52b365ceb0e16980e1cd95eb033d0a554006e740..f81b6f7f0a299417f1f89901750784147adb4265 100644 --- a/tools/release_checks.pike +++ b/tools/release_checks.pike @@ -120,12 +120,12 @@ int test_unicode() { string readme = Protocols.HTTP. get_url_data("http://ftp.unicode.org/Public/UNIDATA/ReadMe.txt"); int a,b,c; - sscanf(readme, "Version %d.%d.%d", a,b,c); + sscanf(readme, "%*sVersion %d.%d.%d", a,b,c); int x,y,z; sscanf(Stdio.read_file("src/UnicodeData-ReadMe.txt"), - "Version %d.%d.%d", x,y,z); + "%*sVersion %d.%d.%d", x,y,z); if( a!=x || b!=y || c!=z ) { - write("Unicode database out of sync with unicode.org.\n"); + write("Unicode database (%d.%d.%d) behind unicode.org (%d.%d.%d).\n", x,y,z,a,b,c); return 0; } return 1;