summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2013-10-01 22:00:30 +0100
committerRoger Leigh <rleigh@debian.org>2013-10-01 22:00:30 +0100
commitb79369058da4b641befacdcf2a8271dca5cbe305 (patch)
treede77f43d8b09a0bcc68ef6024a07b0ef4ed06a9b /cmake
parentb9ca645482fda7f7ae99dfdded1bc4b3eb5b6acf (diff)
downloadschroot-b79369058da4b641befacdcf2a8271dca5cbe305.tar.gz
cmake: Source release policy from source dir
Diffstat (limited to 'cmake')
-rw-r--r--cmake/GitRelease.cmake4
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)