You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/01/21 19:48:06 UTC
svn commit: r1851768 - /httpd/site/trunk/tools/push.sh
Author: jailletc36
Date: Mon Jan 21 19:48:06 2019
New Revision: 1851768
URL: http://svn.apache.org/viewvc?rev=1851768&view=rev
Log:
Force date format in en_US, in case a RM uses another language.
(Only tested on command line, not with the full script)
Modified:
httpd/site/trunk/tools/push.sh
Modified: httpd/site/trunk/tools/push.sh
URL: http://svn.apache.org/viewvc/httpd/site/trunk/tools/push.sh?rev=1851768&r1=1851767&r2=1851768&view=diff
==============================================================================
--- httpd/site/trunk/tools/push.sh (original)
+++ httpd/site/trunk/tools/push.sh Mon Jan 21 19:48:06 2019
@@ -108,7 +108,7 @@ elif test "dist" = "$repo";then
perl -pi -e "s/$major\.$minor\.\d+/$version/g" "$release_base"/Announcement${major}.${minor}.*
#Ensure the right date is in announcement file
- release_date=`date "+%B %d, %Y"`
+ release_date=`LC_TIME=en_US date "+%B %d, %Y"`
perl -pi -e "s/^ (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec).*/ $release_date/" "$release_base"/Announcement${major}.${minor}.*
#Do an SVN move of the files to retain history