From 7d1bf26128f69579c807ef74358ebb2bbcd6ac85 Mon Sep 17 00:00:00 2001 From: smlng <s@mlng.net> Date: Mon, 29 Oct 2018 08:54:20 +0100 Subject: [PATCH] build: remove hostname from RIOT_VERSION string The hostname does not provide any additional or necessary information to the RIOT_VERSION string. On the contrary, some might consider the hostname as personal information, which should not be exposed unsolicitedly. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index d4425a46c6..351406751d 100644 --- a/Makefile.include +++ b/Makefile.include @@ -319,7 +319,7 @@ include $(RIOTMAKE)/cflags.inc.mk # make the RIOT version available to the program ifeq ($(origin RIOT_VERSION), undefined) - GIT_STRING := $(shell git --git-dir="$(RIOTBASE)/.git" describe --always --abbrev=4 --dirty=-`hostname` 2> /dev/null) + GIT_STRING := $(shell git --git-dir="$(RIOTBASE)/.git" describe --always --abbrev=4 2> /dev/null) ifneq (,$(GIT_STRING)) GIT_BRANCH := $(shell git --git-dir="$(RIOTBASE)/.git" rev-parse --abbrev-ref HEAD) ifeq ($(strip $(GIT_BRANCH)),master) -- GitLab