aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Karlitski <lars@karlitski.net>2019-02-04 18:37:11 +0100
committerLars Karlitski <lars@karlitski.net>2019-02-12 14:47:49 +0100
commit38e42476cba14515cd2dbc53318ff1882a94b1c5 (patch)
tree9a32d4a77703828b5764d16fa33091c9f6f2af17
parent608019b65b2fb3dc1c88efcbed1cd88b70794fd7 (diff)
downloadpodman-38e42476cba14515cd2dbc53318ff1882a94b1c5.tar.gz
podman-38e42476cba14515cd2dbc53318ff1882a94b1c5.tar.bz2
podman-38e42476cba14515cd2dbc53318ff1882a94b1c5.zip
Makefile: Don't include quotes around GIT_COMMIT
These quotes were included in the varlink `GetVersion()` call. Signed-off-by: Lars Karlitski <lars@karlitski.net>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dfbe47171..f73792980 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ SELINUXOPT ?= $(shell test -x /usr/sbin/selinuxenabled && selinuxenabled && echo
PACKAGES ?= $(shell $(GO) list -tags "${BUILDTAGS}" ./... | grep -v github.com/containers/libpod/vendor | grep -v e2e | grep -v system )
COMMIT_NO ?= $(shell git rev-parse HEAD 2> /dev/null || true)
-GIT_COMMIT ?= $(if $(shell git status --porcelain --untracked-files=no),"${COMMIT_NO}-dirty","${COMMIT_NO}")
+GIT_COMMIT ?= $(if $(shell git status --porcelain --untracked-files=no),${COMMIT_NO}-dirty,${COMMIT_NO})
BUILD_INFO ?= $(shell date +%s)
LIBPOD := ${PROJECT}/libpod
LDFLAGS_PODMAN ?= $(LDFLAGS) -X $(LIBPOD).gitCommit=$(GIT_COMMIT) -X $(LIBPOD).buildInfo=$(BUILD_INFO)