Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 15 lines 534 B view raw
1diff --git a/Makefile b/Makefile 2index ab794165..0cbd047f 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -5,8 +5,8 @@ PREFIX?=$(shell pwd) 6 # Add to compile time flags 7 NOTARY_PKG := github.com/theupdateframework/notary 8 NOTARY_VERSION := $(shell cat NOTARY_VERSION) 9-GITCOMMIT := $(shell git rev-parse --short HEAD) 10-GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no) 11+GITCOMMIT ?= $(shell git rev-parse --short HEAD) 12+GITUNTRACKEDCHANGES := 13 ifneq ($(GITUNTRACKEDCHANGES),) 14 GITCOMMIT := $(GITCOMMIT)-dirty 15 endif