Author: buildbot
Date: Thu Mar 14 17:21:57 2013
New Revision: 854493

Log:
Staging update by buildbot for vcl

Modified:
    websites/staging/vcl/trunk/content/   (props changed)
    websites/staging/vcl/trunk/content/downloads/download.cgi

Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Mar 14 17:21:57 2013
@@ -1 +1 @@
-1456553
+1456558

Modified: websites/staging/vcl/trunk/content/downloads/download.cgi
==============================================================================
--- websites/staging/vcl/trunk/content/downloads/download.cgi (original)
+++ websites/staging/vcl/trunk/content/downloads/download.cgi Thu Mar 14 
17:21:57 2013
@@ -2,5 +2,10 @@
 # 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/vcl.apache.org/content/downloads
-/www/vcl.apache.org/content/downloads/mirrors.cgi $*
+if [ "${HTTP_HOST}" = "vcl.staging.apache.org" ]; then
+       cd /usr/local/websites/vcl/trunk/content/downloads
+       /usr/local/websites/vcl/trunk/content/downloads/mirrors.cgi $*
+else
+       cd /www/vcl.apache.org/content/downloads
+       /www/vcl.apache.org/content/downloads/mirrors.cgi $*
+fi


Reply via email to