Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uwsgiconfig: quote bin_name when linking
If the path to the binary contains a space, the link step fails: $ python3 -m venv have\ space $ . have\ space/bin/activate (have space) $ pip install uwsgi .... *** uWSGI linking *** x86_64-linux-gnu-gcc -pthread -o /home/awelzel/projects/uwsgi/have space/bin/uwsgi -L/usr/lib -Wl,-rpat x86_64-linux-gnu-gcc: error: space/bin/uwsgi: No such file or directory Further, if one builds into a venv called `;uptime;`, `uptime` is executed. This is a minimal fix quoting `bin_name` and not considering any other cases. Fixes #1939.
- Loading branch information