Fix sed commands (#349)

dev-mp
Piotr Dziwinski 2014-10-28 18:28:38 +01:00
parent 5e78ce6893
commit 43eca511c4
2 changed files with 2 additions and 2 deletions

2
data

@ -1 +1 @@
Subproject commit 715574da9a3350be60d8fbf40c0e176576923f50
Subproject commit 2660c69a52411ca68a2cd6d61f6147f0efbfcc15

View File

@ -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 "s|^\\(\"POT-Creation-Date:\\).*$|\\1 DATE\\\\n\"|" ${_potFile}
COMMAND sed -i -e "s|^\\(\"POT-Creation-Date:\\).*$|\\1 DATE\\\\n\"|" ${_potFile}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Extract translatable messages to ${_potFile}"