v2: Rebase on Mesa cleanup.
Move demos into its own elif statement.
Signed-off-by: Andreas Boll
---
Rebased on https://patchwork.freedesktop.org/patch/206466/
release.sh | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/release.sh b/release.sh
index 99bd0c3..b2071b6 100755
--- a/release.sh
+++ b/release.sh
@@ -264,8 +264,10 @@ get_section() {
if [ $? -ne 0 ]; then
echo "Error: unable to extract section from $module_url second
field."
return 1
- elif [ x"$section" != xdrm ] && [ x"$section" != xmesa ]; then
- echo "Error: section $section is not supported, only libdrm and
mesa are."
+ elif [ x"$section" != xdrm ] &&
+[ x"$section" != xmesa ] &&
+[ x"$section" != xdemos ]; then
+ echo "Error: section $section is not supported, only libdrm, mesa
and demos are."
return 1
fi
fi
@@ -588,6 +590,12 @@ process_module() {
srv_path="/srv/$host_current/www/$section_path"
list_to=$list_mesa_announce
list_cc=$list_mesa_devel
+elif [ x"$section" = xdemos ]; then
+host_current=$host_mesa
+section_path=archive/$section
+srv_path="/srv/$host_current/www/$section_path"
+list_to=$list_mesa_announce
+list_cc=$list_mesa_devel
fi
# Module xkeyboard-config goes in a subdir of the xorg "data" section
--
2.11.0
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel