https://bugs.kde.org/show_bug.cgi?id=365135

caulier.gil...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.0.0                       |5.1.0

--- Comment #21 from caulier.gil...@gmail.com ---
[gilles@localhost release]$ git log -u -1
32655482fb47e46a3521ec3a8b523a217529441f
commit 32655482fb47e46a3521ec3a8b523a217529441f
Author: Gilles Caulier <caulier.gil...@gmail.com>
Date:   Wed Aug 10 10:34:18 2016 +0200

    when CMakeLists.txt file is created for showfoto documentation i18n build,
do not overwrite digikam doc rules, just append new showfoto rules
    BUGS: 365135
    FIXED-IN: 5.2.0

diff --git a/project/release/fetch_l10n_doc.rb
b/project/release/fetch_l10n_doc.rb
index 743b3f0..3ed8eac 100755
--- a/project/release/fetch_l10n_doc.rb
+++ b/project/release/fetch_l10n_doc.rb
@@ -168,8 +168,8 @@ i18nlangs.each_line do |lang|
             end

             if (complete == true)
-                makefile = File.open( "CMakeLists.txt", File::RDWR)
-                makefile << "KDOCTOOLS_CREATE_HANDBOOK( showfoto/index.docbook
INSTALL_DESTINATION ${HTML_INSTALL_DIR}/#{lang}/ SUBDIR digikam )"
+                makefile = File.open( "CMakeLists.txt", "a")
+                makefile << "\nKDOCTOOLS_CREATE_HANDBOOK(
showfoto/index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/#{lang}/ SUBDIR
digikam )"
                 makefile.close()
             end

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to