From f5f6e709fba28c0c596056072dc0e2fe360d6ffa Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 11 Apr 2013 12:37:22 +0000
Subject: [PATCH]

---
 utils/nightly/gmsh.ctest | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/utils/nightly/gmsh.ctest b/utils/nightly/gmsh.ctest
index f030433c5f..4e9fc60b44 100644
--- a/utils/nightly/gmsh.ctest
+++ b/utils/nightly/gmsh.ctest
@@ -41,7 +41,10 @@ endif(NOT CDASH_MODEL)
 
 ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
 ctest_start(${CDASH_MODEL})
-ctest_update()
+# update from SVN only for nightly builds
+if(CDASH_MODEL MATCHES "Nightly")
+  ctest_update()
+endif(CDASH_MODEL MATCHES "Nightly")
 ctest_configure()
 ctest_build(TARGET html)
 ctest_build(TARGET package NUMBER_ERRORS ERR)
-- 
GitLab