summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-10-15 12:06:03 -0400
committerPeter Hutterer <peter.hutterer@who-t.net>2019-07-01 05:42:23 +0000
commit0006974952b37763506ac032f7914673a0a431e5 (patch)
treeb4468219dcf0fe559982638830e5fb946aa0618f
parent297db7dde81884645a0ad7f4c8061b299e659002 (diff)
release.sh: Fix extracting the section for xorg modules
Previously for an xserver release this would try to upload to /srv/xorg.freedesktop.org/archive/individual/xorg, which is not a real path. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rwxr-xr-xrelease.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.sh b/release.sh
index 57893fd..aa38d29 100755
--- a/release.sh
+++ b/release.sh
@@ -272,7 +272,7 @@ get_section() {
fi
fi
- if [ x"$section" = xwayland ]; then
+ if [ x"$section" = xwayland -o x"$section" = xxorg ]; then
section=`echo $module_url | cut -d'/' -f2`
if [ $? -ne 0 ]; then
echo "Error: unable to extract section from $module_url second field."