Skip to content

Commit

Permalink
Fix to exclude forward slashes from git info during 'make rpm'
Browse files Browse the repository at this point in the history
  • Loading branch information
jimi-c committed Sep 30, 2015
1 parent 3bd71d0 commit af1f462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit af1f462

Please sign in to comment.