[Fusionforge-commits] FusionForge branch Branch_5_2 updated. d6951a97b52c5f7580a2f5da7d8ca6d1ddeb2804

Roland Mas lolando at fusionforge.org
Fri Aug 2 11:30:26 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_2 has been updated
       via  d6951a97b52c5f7580a2f5da7d8ca6d1ddeb2804 (commit)
      from  ff9d956e8682737c5cf125fc9ae133e58c7b06cc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d6951a97b52c5f7580a2f5da7d8ca6d1ddeb2804
Author: Roland Mas <lolando at debian.org>
Date:   Fri Aug 2 11:30:19 2013 +0200

    Force English locale when generating date to avoid non-ASCII characters in generated file

diff --git a/src/plugins/moinmoin/cronjobs/create-wikis.php b/src/plugins/moinmoin/cronjobs/create-wikis.php
index 47fee1d..6d8ec8e 100644
--- a/src/plugins/moinmoin/cronjobs/create-wikis.php
+++ b/src/plugins/moinmoin/cronjobs/create-wikis.php
@@ -57,7 +57,7 @@ while ( $row = db_fetch_array($project_res) ) {
 		system("cp -r /usr/share/moin/data /usr/share/moin/underlay $project_dir/");
 		system("chown -R gforge:gforge $project_dir");
 		$template = "/etc/fusionforge/plugins/moinmoin/PROJECT_NAME.py.tmpl";
-		system('(echo "# Automatically generated on `date` from '.$template.'";'
+		system('(echo "# Automatically generated on `LANG=C date` from '.$template.'";'
                       . 'echo "# DO NOT EDIT";'
                       . "sed s/@PROJECT_NAME@/$project/ < $template) > $wikidata/$project.py");
 

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/moinmoin/cronjobs/create-wikis.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list