]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Always set a subproject
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Nov 2013 08:12:00 +0000 (08:12 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Nov 2013 08:12:00 +0000 (08:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@31788 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/run_testsuite.cmake

index 2a46b37a46f9aae426ff0df8a5b8d57d29624965..d052c27e48bd691b760a98f1f1f297badecf47cc 100644 (file)
@@ -521,7 +521,12 @@ ENDIF()
 #                                                                      #
 ########################################################################
 
-IF(NOT "${_branch}" STREQUAL "")
+IF("${_branch}" STREQUAL "")
+  #
+  # If we have no branch information, just use "generic" as a subproject:
+  #
+  SET_PROPERTY(GLOBAL PROPERTY SubProject "no_svn_info")
+ELSE()
   SET_PROPERTY(GLOBAL PROPERTY SubProject ${_branch})
 ENDIF()
 
@@ -624,4 +629,4 @@ IF("${_res}" STREQUAL "0")
   MESSAGE("-- Submission successful. Goodbye!")
 ENDIF()
 
-# .oO( This script is freaky 627 lines long... )
+# .oO( This script is freaky 632 lines long... )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.