From 4e669f59a0c6c2c2c05ca81ae1613da3050f4d35 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 18 Dec 2015 17:38:04 +0300 Subject: [PATCH] fix android pack --- platforms/android/build_sdk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/android/build_sdk.py b/platforms/android/build_sdk.py index 274c02d9faff..5321aef750f3 100755 --- a/platforms/android/build_sdk.py +++ b/platforms/android/build_sdk.py @@ -57,7 +57,7 @@ def determine_opencv_version(version_hpp_path): major = re.search(r'^#define\W+CV_VERSION_MAJOR\W+(\d+)$', data, re.MULTILINE).group(1) minor = re.search(r'^#define\W+CV_VERSION_MINOR\W+(\d+)$', data, re.MULTILINE).group(1) revision = re.search(r'^#define\W+CV_VERSION_REVISION\W+(\d+)$', data, re.MULTILINE).group(1) - version_status = re.search(r'^#define\W+CV_VERSION_STATUS\W+"([^"]*)"', data, re.MULTILINE).group(1) + version_status = re.search(r'^#define\W+CV_VERSION_STATUS\W+"([^"]*)"$', data, re.MULTILINE).group(1) return "%(major)s.%(minor)s.%(revision)s%(version_status)s" % locals() #===================================================================================================