File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ LDFLAGS += -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitBranch=$(shel
67
67
LDFLAGS += -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEdition=$(TIDB_EDITION)"
68
68
69
69
EXTENSION_FLAG =
70
- ifeq ($(shell if [ -d extension/enterprise/.git ]; then echo "true"; fi),true)
71
- EXTENSION_FLAG += -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEnterpriseExtensionGitHash=$(shell cd extension/enterprise && git rev-parse HEAD)"
70
+ ifeq ($(shell if [ -d .git/modules/ extension/enterprise ]; then echo "true"; fi),true)
71
+ EXTENSION_FLAG += -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBEnterpriseExtensionGitHash=$(shell cd pkg/ extension/enterprise && git rev-parse HEAD)"
72
72
endif
73
73
74
74
TEST_LDFLAGS = -X "github.com/pingcap/tidb/pkg/config.checkBeforeDropLDFlag=1"
You can’t perform that action at this time.
0 commit comments