mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-01 20:24:27 -04:00
CMake: repair ca9006a1bc
Misplaced $, and looking for translation sources in the wrong directory, led to a test-case failure before release.
This commit is contained in:
parent
d196dde23f
commit
9bd600cab6
1 changed files with 2 additions and 2 deletions
|
@ -129,9 +129,9 @@ function(calamares_qrc_translations basename)
|
|||
set(calamares_i18n_ts_filelist "")
|
||||
foreach(lang ${_qrt_LANGUAGES})
|
||||
foreach(tlsource ${_qrt_PREFIXES})
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/{$_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
||||
string(APPEND calamares_i18n_qrc_content "<file>${tlsource}_${lang}.qm</file>\n")
|
||||
list(APPEND calamares_i18n_ts_filelist "${CMAKE_SOURCE_DIR}/${_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
||||
list(APPEND calamares_i18n_ts_filelist "${CMAKE_CURRENT_SOURCE_DIR}/${_qrt_SUBDIRECTORY}/${tlsource}_${lang}.ts")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue