[rkward/releases/0.7.0] i18n: Must not quote parameter, here!

Thomas Friedrichsmeier null at kde.org
Mon Apr 16 18:20:17 UTC 2018


Git commit 3554b69362e37d277bbb7f55cbc401f66932fab1 by Thomas Friedrichsmeier.
Committed on 16/04/2018 at 18:19.
Pushed by tfry into branch 'releases/0.7.0'.

Must not quote parameter, here!

CCBUG: 393195

M  +2    -2    i18n/CMakeLists.txt

https://commits.kde.org/rkward/3554b69362e37d277bbb7f55cbc401f66932fab1

diff --git a/i18n/CMakeLists.txt b/i18n/CMakeLists.txt
index cd9fb6df..5caec306 100644
--- a/i18n/CMakeLists.txt
+++ b/i18n/CMakeLists.txt
@@ -21,13 +21,13 @@ MACRO(RKHandlePO _PO_FILES)
 			DEPENDS ${_poFile})
 		LIST(APPEND active_translations ${_stampFile})
 
-		IF(EXISTS "${_gmoFile}")
+		IF(EXISTS ${_gmoFile})
 			IF(${_poid} STREQUAL "rkward")
 				INSTALL(FILES ${_gmoFile} DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME rkward.mo OPTIONAL)
 			ELSE(${_poid} STREQUAL "rkward")
 				INSTALL(FILES ${_gmoFile} DESTINATION ${DATA_INSTALL_DIR}/rkward/po/${_lang}/LC_MESSAGES/ RENAME ${_poid}.mo OPTIONAL)
 			ENDIF(${_poid} STREQUAL "rkward")
-		ENDIF(EXISTS "${_gmoFile}")
+		ENDIF(EXISTS ${_gmoFile})
 	ENDFOREACH(_poFile ${_PO_FILES})
 ENDMACRO(RKHandlePO)
 



More information about the rkward-tracker mailing list