diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2021-10-26 16:58:39 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2021-10-26 16:58:39 +0300 |
commit | 3cd48d5756b71b0d7eff5c84d21243ff7849f8b3 (patch) | |
tree | 470c28d14e1634f8d9ab82cc15b4c721343d1752 /Makefile | |
parent | dc3756194f7f315c216029c823083027a28f9560 (diff) |
Reverse GIT_VERSION condition order
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }') |