Skip to content

Commit

Permalink
webui: Allow versions to contain a tilde
Browse files Browse the repository at this point in the history
  • Loading branch information
arogge committed Nov 4, 2019
1 parent d1ee3d6 commit b274a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/cmake/BareosExtractVersionInfo.cmake
Expand Up @@ -25,7 +25,7 @@ IF (NOT DEFINED VERSION_STRING)
# VERSION_STRING now is something like #define VERSION "18.2.4rc2"
string(REGEX MATCH \".*\" BAREOS_FULL_VERSION ${VERSION_STRING})
ELSE()
string(REGEX MATCH [0-9.a-zA-Z]+ BAREOS_FULL_VERSION ${VERSION_STRING})
string(REGEX MATCH [0-9.a-zA-Z~]+ BAREOS_FULL_VERSION ${VERSION_STRING})
ENDIF()

string(REGEX MATCH [0-9]+.[0-9]+.[0-9]+ BAREOS_NUMERIC_VERSION ${VERSION_STRING})
Expand Down

0 comments on commit b274a24

Please sign in to comment.