summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorJose Luis Blanco-Claraco <jlblanco@ual.es>2018-10-08 23:59:44 +0200
committerBrad King <brad.king@kitware.com>2018-10-09 07:26:40 -0400
commitf23760ffac85f4cee6206c654265df9b3a46bf90 (patch)
tree3b2bf09d504326898c55887cb289195f934b02d5 /Source/CTest/cmCTestScriptHandler.cxx
parentfd02538974dd952a8639d371c2c0067d30d5469a (diff)
downloadcmake-f23760ffac85f4cee6206c654265df9b3a46bf90.tar.gz
string(TIMESTAMP): Fix unset TZ
The logic added by commit v3.6.0-rc1~338^2 (CMake: Extend TIMESTAMP sub-commands with new unix time format specifier, 2016-02-16) to restore the `TZ` environment variable does not properly handle the case in which the variable was originally not set. Unset the variable in this case. Fixes: #18431
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
0 files changed, 0 insertions, 0 deletions