diff --git a/config/spl-meta.m4 b/config/spl-meta.m4 index a51fa797ee..e98cc2ea63 100644 --- a/config/spl-meta.m4 +++ b/config/spl-meta.m4 @@ -57,7 +57,7 @@ AC_DEFUN([SPL_AC_META], [ SPL_META_RELEASE=_SPL_AC_META_GETVAL([Release]); if test ! -f ".nogitrelease" && git rev-parse --git-dir > /dev/null 2>&1; then - _match="${SPL_META_NAME}-${SPL_META_VERSION}*" + _match="${SPL_META_NAME}-${SPL_META_VERSION}" _alias=$(git describe --match=${_match} 2>/dev/null) _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g') if test -n "${_release}"; then