You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2017/06/19 12:43:43 UTC
sling-site git commit: Add downloads.cgi
Repository: sling-site
Updated Branches:
refs/heads/master 0f30d49cc -> bd893c049
Add downloads.cgi
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/bd893c04
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/bd893c04
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/bd893c04
Branch: refs/heads/master
Commit: bd893c049263c7eaa1dfd411eed5da865a52148a
Parents: 0f30d49
Author: Bertrand Delacretaz <bd...@apache.org>
Authored: Mon Jun 19 14:43:28 2017 +0200
Committer: Bertrand Delacretaz <bd...@apache.org>
Committed: Mon Jun 19 14:43:28 2017 +0200
----------------------------------------------------------------------
assets/downloads.cgi | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sling-site/blob/bd893c04/assets/downloads.cgi
----------------------------------------------------------------------
diff --git a/assets/downloads.cgi b/assets/downloads.cgi
new file mode 100755
index 0000000..435af12
--- /dev/null
+++ b/assets/downloads.cgi
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Wrapper script around mirrors.cgi script (http://www.apache.org/dev/release-download-pages.html)
+# (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 $*