Skip to content

Commit

Permalink
*: Fix portability issue in Makefile.common (#43414)
Browse files Browse the repository at this point in the history
close #43413
  • Loading branch information
dveeden authored Apr 26, 2023
1 parent a02a751 commit 1b5bdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ LDFLAGS += -X "github.com/pingcap/tidb/util/versioninfo.TiDBGitBranch=$(shell gi
LDFLAGS += -X "github.com/pingcap/tidb/util/versioninfo.TiDBEdition=$(TIDB_EDITION)"

EXTENSION_FLAG =
ifeq ($(shell if [ -a extension/enterprise/.git ]; then echo "true"; fi),true)
ifeq ($(shell if [ -d extension/enterprise/.git ]; then echo "true"; fi),true)
EXTENSION_FLAG += -X "github.com/pingcap/tidb/util/versioninfo.TiDBEnterpriseExtensionGitHash=$(shell cd extension/enterprise && git rev-parse HEAD)"
endif

Expand Down

0 comments on commit 1b5bdee

Please sign in to comment.