Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2021-10-26 16:58:39 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2021-10-26 16:58:39 +0300
commit3cd48d5756b71b0d7eff5c84d21243ff7849f8b3 (patch)
tree470c28d14e1634f8d9ab82cc15b4c721343d1752 /Makefile
parentdc3756194f7f315c216029c823083027a28f9560 (diff)
Reverse GIT_VERSION condition order
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 16f4acd94..3d7c00d72 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ LIBGIT2_VERSION ?= v1.2.0
# Support both vX.Y.Z and X.Y.Z version patterns, since callers across
# GitLab use both.
-ifeq (,$(GIT_VERSION))
+ifeq ($(GIT_VERSION),)
GIT_VERSION := v2.33.1
else
GIT_VERSION := $(shell echo ${GIT_VERSION} | awk '/^[0-9]\.[0-9]+\.[0-9]+$$/ { printf "v" } { print $$1 }')