You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2012/03/21 23:49:48 UTC

svn commit: r1303611 - /subversion/site/publish/download/download.cgi

Author: gstein
Date: Wed Mar 21 22:49:48 2012
New Revision: 1303611

URL: http://svn.apache.org/viewvc?rev=1303611&view=rev
Log:
Simplify the invocation of mirrors.cgi, based on recent tweaks.

* site/publish/download/download.cgi: no need to chdir

Modified:
    subversion/site/publish/download/download.cgi

Modified: subversion/site/publish/download/download.cgi
URL: http://svn.apache.org/viewvc/subversion/site/publish/download/download.cgi?rev=1303611&r1=1303610&r2=1303611&view=diff
==============================================================================
--- subversion/site/publish/download/download.cgi (original)
+++ subversion/site/publish/download/download.cgi Wed Mar 21 22:49:48 2012
@@ -1,5 +1,4 @@
 #!/bin/sh
-# Wrapper script around mirrors.cgi script
-# (we must change to that directory in order for python to pick up the
-#  python includes correctly)
-(cd /www/www.apache.org/dyn/mirrors && /www/www.apache.org/dyn/mirrors/mirrors.cgi $*)
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*