diff options
author | Andreas Boll <andreas.boll.dev@gmail.com> | 2018-02-23 15:13:47 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-02-27 16:19:02 +0000 |
commit | 9d54dddd8163ab3058b384d3c6c3e3f282155548 (patch) | |
tree | a90315b20f70c207f860a602f2a6b293ecb3a7b0 | |
parent | d519aed5505714de05fb4e46da63da297fa4c3c5 (diff) |
release.sh: Add support for mesa-demos
v2: Rebase on Mesa cleanup.
Move demos into its own elif statement.
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rwxr-xr-x | release.sh | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |