From: Emil Velikov <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
release.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/release.sh b/release.sh
index 7b8528b..6a72302 100755
--- a/release.sh
+++ b/release.sh
@@ -103,11 +103,11 @@ RELEASE
for tarball in $tarbz2 $targz $tarxz; do
cat <<RELEASE
-http://$host_current/$section_path/$tarball
+${host_protocol}://$host_current/$section_path/$tarball
MD5: `$MD5SUM $tarball`
SHA1: `$SHA1SUM $tarball`
SHA256: `$SHA256SUM $tarball`
-PGP: http://${host_current}/${section_path}/${tarball}.sig
+PGP: ${host_protocol}://${host_current}/${section_path}/${tarball}.sig
RELEASE
done
@@ -499,6 +499,9 @@ process_module() {
# The hostname which is used to connect to the development resources
hostname="annarchy.freedesktop.org"
+ # Some projects do not use http.
+ host_protocol="http"
+
# Some hostnames are also used as /srv subdirs
host_fdo="www.freedesktop.org"
host_xorg="xorg.freedesktop.org"
--
2.8.2
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel