Skip to content

Commit

Permalink
fix android pack
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Dec 18, 2015
1 parent 2f4b334 commit 4e669f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/android/build_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

#===================================================================================================
Expand Down

0 comments on commit 4e669f5

Please sign in to comment.