Skip to content

Commit

Permalink
Merge pull request #1506 from stweil/version
Browse files Browse the repository at this point in the history
Support version names starting with non numeric characters
  • Loading branch information
zdenop authored Apr 22, 2018
2 parents 577f6f7 + 3b3216e commit e2ab699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ GENERIC_LIBRARY_NAME=tesseract

# Release versioning. Get versions from PACKAGE_VERSION.
AX_SPLIT_VERSION
GENERIC_MAJOR_VERSION=$AX_MAJOR_VERSION
GENERIC_MAJOR_VERSION=$(echo "$AX_MAJOR_VERSION" | $SED 's/^[[^0-9]]*//')
GENERIC_MINOR_VERSION=$AX_MINOR_VERSION
GENERIC_MICRO_VERSION=`echo "$AX_POINT_VERSION" | $SED 's/^\([[0-9]][[0-9]]*\).*/\1/'`

Expand Down

0 comments on commit e2ab699

Please sign in to comment.