Comment 1 for bug 1883468

Revision history for this message
Hirotaka Wakabayashi (hiwkby) wrote :

Hello,

My stack.sh works fine with the patch below. I can submit a patch if no problem.

```
diff --git a/lib/apache b/lib/apache
index 84cec732..453d7d90 100644
--- a/lib/apache
+++ b/lib/apache
@@ -95,8 +95,14 @@ function install_apache_uwsgi {
     pip_install uwsgi
     pip download uwsgi -c $REQUIREMENTS_DIR/upper-constraints.txt
     local uwsgi
- uwsgi=$(ls uwsgi*)
- tar xvf $uwsgi
+ if [ -f uW*.tar.gz ] ; then
+ mkdir uwsgi-latest
+ uwsgi=$(ls uW*.tar.gz)
+ tar xvf $uwsgi -C uwsgi-latest
+ else
+ uwsgi=$(ls uwsgi*)
+ tar xvf $uwsgi
+ fi
     cd uwsgi*/apache2
     sudo $apxs -i -c mod_proxy_uwsgi.c
     popd
```

Thanks in advance,
Hirotaka Wakabayahsi