[PATCH util-modular] release.sh: Also update srv_path for older Mesa releases.
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 14 11:39:17 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Otherwise we'll be missing the "$version" directory and the files
will be uploaded the the wrong location.
Fixes: f16477858bc "release.sh: remove $MESA_VERSION from the
destination location"
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
release.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/release.sh b/release.sh
index c894063..c824dea 100755
--- a/release.sh
+++ b/release.sh
@@ -580,6 +580,7 @@ process_module() {
# 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
--
2.11.0
More information about the xorg-devel
mailing list