]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a CMake typo.
authorDavid Wells <drwells@email.unc.edu>
Tue, 20 Jun 2023 14:06:54 +0000 (10:06 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 20 Jun 2023 14:06:54 +0000 (10:06 -0400)
We now print the correct copyright year.

doc/doxygen/CMakeLists.txt

index 6537bc1a48ea65ae042539644048db001077aeea..020d921b2b2427de92037bdf1baa7606522136f8 100644 (file)
@@ -126,7 +126,7 @@ file(GLOB _source_files
 foreach (_source ${_source_files})
   file(READ "${_source}" contents)
   string(REGEX MATCH "Copyright .C. +([0-9]+ - )?([0-9]+)" _copyright "${contents}")
-  if (NOT _copright STREQUAL "")
+  if (NOT "${_copyright}" STREQUAL "")
     string(REGEX MATCH "[0-9]+\$" _year "${_copyright}")
 
     if (NOT _year STREQUAL ""   AND   _year GREATER _last_year)

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.