Fix extra apostrophes added to the BUILDNAME which were added by a previous change

This commit is contained in:
Bernhard F.W. Gschaider 2014-05-29 21:31:56 +02:00
parent 1cb3e1f77a
commit 3e51fd20a2
2 changed files with 8 additions and 6 deletions

View file

@ -130,11 +130,12 @@ if(GIT_FOUND)
ARGS id
OUTPUT_VARIABLE GIT_BRANCH_NAME
)
string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
string(REPLACE "+" "_modified" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
SET(GIT_BRANCH_NAME "hg_${GIT_BRANCH_NAME}")
message("Git branch (mercurial): ${GIT_BRANCH_NAME}")
endif()
SET(BUILDNAME "${BUILDNAME}-git-branch='hg_${GIT_BRANCH_NAME}'")
string(REPLACE " " "_" BUILDNAME ${BUILDNAME})
string(REPLACE "+" "_modified" BUILDNAME ${BUILDNAME})
SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}")
endif()
# Some last minute cleanup

View file

@ -130,11 +130,12 @@ if(GIT_FOUND)
ARGS id
OUTPUT_VARIABLE GIT_BRANCH_NAME
)
string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
string(REPLACE "+" "_modified" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
SET(GIT_BRANCH_NAME "hg_${GIT_BRANCH_NAME}")
message("Git branch (mercurial): ${GIT_BRANCH_NAME}")
endif()
SET(BUILDNAME "${BUILDNAME}-git-branch='hg_${GIT_BRANCH_NAME}'")
string(REPLACE " " "_" BUILDNAME ${BUILDNAME})
string(REPLACE "+" "_modified" BUILDNAME ${BUILDNAME})
SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}")
endif()
# Some last minute cleanup