File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ AC_DEFUN([ZFS_AC_META], [
7373 if test ! -f ".nogitrelease" && git rev-parse --git-dir > /dev/null 2>&1; then
7474 _match="${ZFS_META_NAME}-${ZFS_META_VERSION}"
7575 _alias=$(git describe --match=${_match} 2>/dev/null)
76- _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
76+ _release=$(echo ${_alias}|sed "s/${ZFS_META_NAME}//"| cut -f3- -d'-'|sed 's/-/_/g')
7777 if test -n "${_release}"; then
7878 ZFS_META_RELEASE=${_release}
7979 _zfs_ac_meta_type="git describe"
8080 else
8181 _match="${ZFS_META_NAME}-${ZFS_META_VERSION}-${ZFS_META_RELEASE}"
8282 _alias=$(git describe --match=${_match} 2>/dev/null)
83- _release=$(echo ${_alias}|cut -f3- -d'-'|sed 's/-/_/g')
83+ _release=$(echo ${_alias}|sed 's/${ZFS_META_NAME}//' |cut -f3- -d'-'|sed 's/-/_/g')
8484 if test -n "${_release}"; then
8585 ZFS_META_RELEASE=${_release}
8686 _zfs_ac_meta_type="git describe"
You can’t perform that action at this time.
0 commit comments