parent
7cf38fe0a7
commit
f5b866e7f4
@ -0,0 +1,22 @@
|
||||
Description: fix new grep behaviour
|
||||
Author: Alf Gaida <agaida@siduction.org>
|
||||
|
||||
--- liblxqt-0.10.0.orig/cmake/modules/LXQtTranslateDesktop.cmake
|
||||
+++ liblxqt-0.10.0/cmake/modules/LXQtTranslateDesktop.cmake
|
||||
@@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
|
||||
if (_translations)
|
||||
list(SORT _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()
|
@ -0,0 +1 @@
|
||||
fix-new-grep-behaviour.patch
|
Loading…
Reference in new issue