Skip to content
  • Jose-Luis Blanco-Claraco's avatar
    string(TIMESTAMP): Fix unset TZ · f23760ff
    Jose-Luis Blanco-Claraco authored and Brad King's avatar Brad King committed
    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
    f23760ff