From cd2ac07195007f528a3fd81dbf35885ae89080dd Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Thu, 1 Dec 2022 19:09:36 +0400 Subject: [PATCH] make: make openssl output parsing symbol number agnostic (#3429) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e96e5a6c..5d88b49b2 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PKG_PREFIX := github.com/VictoriaMetrics/VictoriaMetrics DATEINFO_TAG ?= $(shell date -u +'%Y%m%d-%H%M%S') BUILDINFO_TAG ?= $(shell echo $$(git describe --long --all | tr '/' '-')$$( \ - git diff-index --quiet HEAD -- || echo '-dirty-'$$(git diff-index -u HEAD | openssl sha1 | cut -c 10-17))) + git diff-index --quiet HEAD -- || echo '-dirty-'$$(git diff-index -u HEAD | openssl sha1 | cut -d' ' -f2 | cut -c 1-8))) PKG_TAG ?= $(shell git tag -l --points-at HEAD) ifeq ($(PKG_TAG),)