mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:18:13 +00:00
Meta: Remove extract_tar_path() function
It's identical to extract_path() after #23000. No behavior change.
This commit is contained in:
parent
125d92fe85
commit
ffcd5cf443
3 changed files with 2 additions and 8 deletions
|
@ -261,9 +261,3 @@ function(extract_path dest_dir zip_path source_path dest_path)
|
|||
file(ARCHIVE_EXTRACT INPUT "${zip_path}" DESTINATION "${dest_dir}" PATTERNS "${source_path}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(extract_tar_path dest_dir tar_path source_path dest_path)
|
||||
if (EXISTS "${tar_path}" AND NOT EXISTS "${dest_path}")
|
||||
file(ARCHIVE_EXTRACT INPUT "${tar_path}" DESTINATION "${dest_dir}" PATTERNS "${source_path}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue