Skip to content

Commit

Permalink
configure.ac: Fix generating DOVECOT_CONFIG_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Nov 11, 2024
1 parent a432da6 commit 1b9a658
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 @@ -265,7 +265,7 @@ AM_ICONV
CXXFLAGS="$CXXFLAGS -D__STDC_LIMIT_MACROS"

# Use the first x.y.z numbers of the version.
DOVECOT_CONFIG_VERSION=$(echo "$PACKAGE_VERSION" | sed 's/^\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')
DOVECOT_CONFIG_VERSION=$(echo "$PACKAGE_VERSION" | sed 's/^\([[0-9]]*\.[[0-9]]*\.[[0-9]]*\).*$/\1/')
if test "$is_pro_build" = "yes"; then
SET_PRO_DEFINES
AC_SUBST(DOVECOT_ASSET_URL, "doc.dovecotpro.com")
Expand Down

0 comments on commit 1b9a658

Please sign in to comment.