Mercurial > hg-stable
changeset 8906:bb255fe7c27e
contrib/buildrpm: force en_US locale during changelog's creation
Running this script using a different locale (i.e., Italian) returns
an error:
$ ./contrib/buildrpm
sto aggiornando la directory di lavoro
1060 file aggiornati, 0 file merge, 0 file rimossi, 0 file non risolti
errore: data errata in %changelog: mar giu 23 2009 Stefano Tortarolo <stefano.tortarolo@gmail.com> 1.2.1-1034
author | Stefano Tortarolo <stefano.tortarolo@gmail.com> |
---|---|
date | Tue, 23 Jun 2009 14:14:48 +0200 |
parents | 68decbcb12cf |
children | e9ef409e6399 |
files | contrib/buildrpm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/buildrpm Tue Jun 23 14:12:17 2009 +0200 +++ b/contrib/buildrpm Tue Jun 23 14:14:48 2009 +0200 @@ -51,7 +51,7 @@ cat <<EOF >> $tmpspec %changelog -* `date +'%a %b %d %Y'` `$HG showconfig ui.username` $version-$release +* `LANG=en_US date +'%a %b %d %Y'` `$HG showconfig ui.username` $version-$release - Automatically built via $0 EOF