blob: 96cfce94c9363509aaa7a8570b977b76ec8c5b15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/cmake/update-version-info.sh 2015-12-20 08:38:33.000000000 -0500
+++ b/cmake/update-version-info.sh 2015-12-26 20:14:00.000000000 -0500
@@ -18,7 +18,7 @@
GIT_COMMAND_EXISTS=1
command -v git >/dev/null 2>&1 || GIT_COMMAND_EXISTS=0
-if [ $GIT_COMMAND_EXISTS -eq 0 ]; then
+if [ $GIT_COMMAND_EXISTS -eq 0 -o ! -d "${CMAKE_SOURCE_DIR}/.git" ]; then
update_header "no vcs hash"
exit 0
fi
|