Revision: 76709
http://sourceforge.net/p/brlcad/code/76709
Author: starseeker
Date: 2020-08-11 18:40:48 +0000 (Tue, 11 Aug 2020)
Log Message:
-----------
Try to avoid the CMP0007 warning...
Modified Paths:
--------------
brlcad/branches/RELEASE/misc/CMake/distcheck_repo_verify.cmake.in
Modified: brlcad/branches/RELEASE/misc/CMake/distcheck_repo_verify.cmake.in
===================================================================
--- brlcad/branches/RELEASE/misc/CMake/distcheck_repo_verify.cmake.in
2020-08-11 18:07:32 UTC (rev 76708)
+++ brlcad/branches/RELEASE/misc/CMake/distcheck_repo_verify.cmake.in
2020-08-11 18:40:48 UTC (rev 76709)
@@ -161,7 +161,7 @@
set(GIT_TREE_MODIFIED 0)
# Get the file list
- set(GIT_FILES "")
+ unset(GIT_FILES)
execute_process(COMMAND ${GIT_EXEC} ls-tree --full-tree -r --name-only HEAD
WORKING_DIRECTORY "@CMAKE_SOURCE_DIR@"
OUTPUT_VARIABLE GIT_STDOUT
@@ -168,6 +168,7 @@
ERROR_VARIABLE GIT_STDERR
RESULT_VARIABLE RETVAL)
string(REGEX REPLACE "\r?\n" ";" GIT_FILES "${GIT_STDOUT}")
+ string(REGEX REPLACE ";$" "" GIT_FILES "${GIT_FILES}")
if (RETVAL)
message("")
message("WARNING: Git does not seem to be working correctly.")
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits