tde_create_translated_desktop: Fix processing of files with spaces in name.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/116/head
Slávek Banko 2 months ago
parent fab0f33de4
commit 38529b8692
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -2084,7 +2084,7 @@ macro( tde_create_translated_desktop )
# tde_setup_msgfmt( ) # tde_setup_msgfmt( )
#endif( ) #endif( )
#if( "${MSGFMT_VERSION}" VERSION_LESS "0.19" ) #if( "${MSGFMT_VERSION}" VERSION_LESS "0.19" )
if( TRUE ) if( 1 )
if( NOT PERL_EXECUTABLE ) if( NOT PERL_EXECUTABLE )
include( FindPerl ) include( FindPerl )
endif( ) endif( )
@ -2204,6 +2204,7 @@ macro( tde_create_translated_desktop )
file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}-translated" ) file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}-translated" )
string( REPLACE "/" "+" _target "${_target}" ) string( REPLACE "/" "+" _target "${_target}" )
string( REPLACE "@" "_" _target "${_target}" ) string( REPLACE "@" "_" _target "${_target}" )
string( REPLACE " " "_" _target "${_target}" )
if( NOT TARGET ${_target} ) if( NOT TARGET ${_target} )

Loading…
Cancel
Save