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.
2 parents 5648663 + 9f80653 commit c6b3e79Copy full SHA for c6b3e79
Makefile
@@ -12,7 +12,8 @@ TEST_DOCKERFILE := script/test_Dockerfile
12
BUILDTAGS := seccomp
13
RUNC_BUILD_PATH := /go/src/github.com/opencontainers/runc/runc
14
RUNC_INSTANCE := runc_dev
15
-COMMIT := $(shell git rev-parse HEAD 2> /dev/null || true)
+COMMIT_NO := $(shell git rev-parse HEAD 2> /dev/null || true)
16
+COMMIT := $(if $(shell git status --porcelain --untracked-files=no),"${COMMIT_NO}-dirty","${COMMIT_NO}")
17
RUNC_LINK := $(CURDIR)/Godeps/_workspace/src/github.com/opencontainers/runc
18
export GOPATH := $(CURDIR)/Godeps/_workspace
19
0 commit comments