[colobot] 139/390: Use only POSIX sed expressions

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit a8ed759b5205991c22ccbb75626ff2b68a092f23
Author: Piotr Dziwinski <piotrdz at gmail.com>
Date:   Tue Oct 28 17:43:57 2014 +0100

    Use only POSIX sed expressions
---
 po/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 78a63b7..9a360e8 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -7,7 +7,7 @@ find_program(XGETTEXT_CMD xgettext)
 add_custom_command(OUTPUT ${_potFile}
     COMMAND ${XGETTEXT_CMD} ${colobot_SOURCE_DIR}/src/app/app.cpp --output=${_potFile}
     COMMAND ${XGETTEXT_CMD} ${colobot_SOURCE_DIR}/src/common/restext.cpp --output=${_potFile} --join-existing --keyword=TR --no-location
-    COMMAND sed -i -E "s|^(\"POT-Creation-Date:).*$|\\1 DATE\\\\n\"|" ${_potFile}
+    COMMAND sed -i "s|^\\(\"POT-Creation-Date:\\).*$|\\1 DATE\\\\n\"|" ${_potFile}
 
     WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
     COMMENT "Extract translatable messages to ${_potFile}"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list