Verified Commit d3dfda60 authored by SZPYRKA Jean-Luc's avatar SZPYRKA Jean-Luc
Browse files

fixed the filename used after decompression

parent 3d5aab50
Pipeline #130722 passed with stage
in 4 minutes and 37 seconds
......@@ -38,8 +38,8 @@ function(tag_clone module url)
# final destination of tag files
set(final_directory ${CMAKE_BINARY_DIR}/doc/_build)
get_filename_component(final__filename ${module} NAME_WE)
set(final__filename ${final__filename}.tag)
get_filename_component(final_filename ${module} NAME_WE)
set(final_filename ${final_filename}.tag)
# store here
if(NOT EXISTS "${output_directory}")
......@@ -52,8 +52,8 @@ function(tag_clone module url)
# if tag file already exists -> do nothing
if(EXISTS "${final_directory}/${final__filename}")
message("Tag file (${final__filename}) already present: skipping")
if(EXISTS "${final_directory}/${final_filename}")
message("Tag file (${final_filename}) already present: skipping")
......@@ -74,13 +74,14 @@ function(tag_clone module url)
gunzip -f ${output_filename}
WORKING_DIRECTORY ${output_directory}
string(REGEX REPLACE ".gz$" "" output_filename ${output_filename})
# standard name for tag files
message("Renaming to: ${final_directory}/${final__filename}")
message("Renaming to: ${final_directory}/${final_filename}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment