[util-modular] release.sh: remove workaround for early Mesa versions

Submitted by Emil Velikov on Feb. 23, 2018, 12:56 p.m.

Details

Message ID 20180223125621.28273-1-emil.l.velikov@gmail.com
State Accepted
Commit d519aed5505714de05fb4e46da63da297fa4c3c5
Headers show
Series "release.sh: remove workaround for early Mesa versions" ( rev: 1 ) in X.org (DEPRECATED - USE GITLAB)

Not browsing as part of any series.

Commit Message

Emil Velikov Feb. 23, 2018, 12:56 p.m.
From: Emil Velikov <emil.velikov@collabora.com>

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
---
 release.sh | 14 --------------
 1 file changed, 14 deletions(-)

Patch hide | download patch | download mbox

diff --git a/release.sh b/release.sh
index ff89d2e..99bd0c3 100755
--- a/release.sh
+++ b/release.sh
@@ -584,24 +584,10 @@  process_module() {
         list_cc=$list_dri_devel
     elif [ x"$section" = xmesa ]; then
         host_current=$host_mesa
-        mesa_version=`echo $pkg_version | sed 's:-rc.*::'`
         section_path=archive
         srv_path="/srv/$host_current/www/$section_path"
         list_to=$list_mesa_announce
         list_cc=$list_mesa_devel
-
-        # Prior to 17.0.x Mesa uses separate folder for each release
-        if test `echo $mesa_version | cut -d'.' -f1` -lt 17; then
-            section_path=$section_path/$mesa_version
-            srv_path="/srv/$host_current/www/$section_path"
-            echo "Info: creating mesa directory on web server:"
-            ssh $USER_NAME$hostname mkdir -p $srv_path  &>/dev/null
-            if [ $? -ne 0 ]; then
-                echo "Error: cannot create the path \"$srv_path\" on the web server."
-                cd $top_src
-                return 1
-            fi
-        fi
     fi
 
     # Module xkeyboard-config goes in a subdir of the xorg "data" section

Comments

Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>

2018-02-23 13:56 GMT+01:00 Emil Velikov <emil.l.velikov@gmail.com>:
> From: Emil Velikov <emil.velikov@collabora.com>
>
> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
> ---
>  release.sh | 14 --------------
>  1 file changed, 14 deletions(-)
>
> diff --git a/release.sh b/release.sh
> index ff89d2e..99bd0c3 100755
> --- a/release.sh
> +++ b/release.sh
> @@ -584,24 +584,10 @@ process_module() {
>          list_cc=$list_dri_devel
>      elif [ x"$section" = xmesa ]; then
>          host_current=$host_mesa
> -        mesa_version=`echo $pkg_version | sed 's:-rc.*::'`
>          section_path=archive
>          srv_path="/srv/$host_current/www/$section_path"
>          list_to=$list_mesa_announce
>          list_cc=$list_mesa_devel
> -
> -        # Prior to 17.0.x Mesa uses separate folder for each release
> -        if test `echo $mesa_version | cut -d'.' -f1` -lt 17; then
> -            section_path=$section_path/$mesa_version
> -            srv_path="/srv/$host_current/www/$section_path"
> -            echo "Info: creating mesa directory on web server:"
> -            ssh $USER_NAME$hostname mkdir -p $srv_path  &>/dev/null
> -            if [ $? -ne 0 ]; then
> -                echo "Error: cannot create the path \"$srv_path\" on the web server."
> -                cd $top_src
> -                return 1
> -            fi
> -        fi
>      fi
>
>      # Module xkeyboard-config goes in a subdir of the xorg "data" section
> --
> 2.16.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