Bump Standards to 3.9.7 Fix LXQtTranlateDesktop - just in case Fix year in copyrights fix grep usage in cmake/LXQtTranslateDesktop.cmake - just in case
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
Description: Fix grep usage in LXQtTranslateDesktop
|
|
Author: Alf Gaida <agaida@siduction.org>
|
|
|
|
--- libfm-qt-0.10.0+20151214.orig/cmake/LXQtTranslateDesktop.cmake
|
|
+++ libfm-qt-0.10.0+20151214/cmake/LXQtTranslateDesktop.cmake
|
|
@@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
|
|
set(_pattern "'\\[.*]\\s*='")
|
|
if (_translations)
|
|
add_custom_command(OUTPUT ${_outFile}
|
|
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
- COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile}
|
|
+ COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
+ COMMAND grep -a -h ${_pattern} ${_translations} >> ${_outFile}
|
|
COMMENT "Generating ${_fileName}${_fileExt}"
|
|
)
|
|
else()
|
|
add_custom_command(OUTPUT ${_outFile}
|
|
- COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
+ COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
|
|
COMMENT "Generating ${_fileName}${_fileExt}"
|
|
)
|
|
endif()
|