From af1f462ba03327e75b386edf655037a417b31ba5 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 30 Sep 2015 09:32:09 -0400 Subject: [PATCH] Fix to exclude forward slashes from git info during 'make rpm' Fixes #12558 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 508be405e9e..fa334bf1b0a 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ RELEASE := $(shell cat VERSION | cut -f2 -d' ') ifneq ($(shell which git),) GIT_DATE := $(shell git log -n 1 --format="%ai") GIT_HASH := $(shell git log -n 1 --format="%h") -GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD | sed 's/[-_.]//g') +GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD | sed 's/[-_.\/]//g') GITINFO = .$(GIT_HASH).$(GIT_BRANCH) else GITINFO = ''