We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tidb-server -V
1 parent 7256212 commit 90bc322Copy full SHA for 90bc322
Makefile.common
@@ -67,7 +67,7 @@ LDFLAGS += -X "github.com/pingcap/tidb/util/versioninfo.TiDBGitBranch=$(shell gi
67
LDFLAGS += -X "github.com/pingcap/tidb/util/versioninfo.TiDBEdition=$(TIDB_EDITION)"
68
69
EXTENSION_FLAG =
70
-ifeq ($(shell if [ -d extension/enterprise/.git ]; then echo "true"; fi),true)
+ifeq ($(shell if [ -f extension/enterprise/.git ]; then echo "true"; fi),true)
71
EXTENSION_FLAG += -X "github.com/pingcap/tidb/util/versioninfo.TiDBEnterpriseExtensionGitHash=$(shell cd extension/enterprise && git rev-parse HEAD)"
72
endif
73
0 commit comments