Commit 3119ec72 authored by louiz’'s avatar louiz’

Force LANG to en_US when generating biboumi.spec (fixes the date format)

parent 327c821f
......@@ -265,7 +265,10 @@ else()
endif()
configure_file(unit/biboumi.service.cmake biboumi.service)
# The date MUST be in english format
set(ENV{LANG} "en_US.utf-8")
execute_process(COMMAND "date" "+%a %b %d %Y" OUTPUT_VARIABLE RPM_DATE
OUTPUT_STRIP_TRAILING_WHITESPACE)
unset(ENV{LANG})
configure_file(packaging/biboumi.spec.cmake biboumi.spec)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment