diff options
author | Roger Leigh <rleigh@debian.org> | 2013-10-01 22:00:30 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2013-10-01 22:00:30 +0100 |
commit | b79369058da4b641befacdcf2a8271dca5cbe305 (patch) | |
tree | de77f43d8b09a0bcc68ef6024a07b0ef4ed06a9b /cmake | |
parent | b9ca645482fda7f7ae99dfdded1bc4b3eb5b6acf (diff) | |
download | schroot-b79369058da4b641befacdcf2a8271dca5cbe305.tar.gz |
cmake: Source release policy from source dir
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/GitRelease.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/GitRelease.cmake b/cmake/GitRelease.cmake index 6f4e264f..b0c46d25 100644 --- a/cmake/GitRelease.cmake +++ b/cmake/GitRelease.cmake @@ -588,9 +588,9 @@ set(GIT_DIST_ROOT ${GIT_DIST_TMPDIR}/${GIT_DIST_NAME} mark_as_advanced(FORCE GIT_DIST_BRANCH GIT_DIST_COMMIT_MESSAGE GIT_DIST_NAME GIT_DIST_TMPDIR GIT_DIST_ROOT) endif (NOT CMAKE_SCRIPT_MODE_FILE) -if(EXISTS ${GIT_RELEASE_POLICY_FILE}) +if(EXISTS "${GIT_RELEASE_POLICY_FILE}") include("${GIT_RELEASE_POLICY_FILE}") -endif(EXISTS ${GIT_RELEASE_POLICY_FILE}) +endif(EXISTS "${GIT_RELEASE_POLICY_FILE}") function(git_check_repo) if(NOT EXISTS ${PROJECT_SOURCE_DIR}/.git) |