Always use the C locale when getting the date to put in the debian changelog - dpkg-buildpackage complains otherwise

This commit is contained in:
David Sansome 2012-01-03 11:53:34 +00:00
parent caa5378d7a
commit 44db77da48
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8)
execute_process(COMMAND date "+%a, %-d %b %Y %H:%M:%S %z"
execute_process(COMMAND env LC_ALL=C date "+%a, %-d %b %Y %H:%M:%S %z"
OUTPUT_VARIABLE DEB_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
set(DEB_REWRITE_RULES ON CACHE BOOL "Rewrite the debian rules file from rules.in")