view uwsgi-do-not-install-plugins-into-plugin_dir.patch @ 0:9668c317e887

Initial revision
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Wed, 10 Jul 2013 19:23:16 +0200
parents
children 6f2f488ec30d
line wrap: on
line source

Index: uwsgi-1.9.13/uwsgiconfig.py
===================================================================
--- uwsgi-1.9.13.orig/uwsgiconfig.py
+++ uwsgi-1.9.13/uwsgiconfig.py
@@ -1170,10 +1170,7 @@ def build_plugin(path, uc, cflags, ldfla
     except:
         pass
 
-    if uc:
-        plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin'
-    else:
-        plugin_dest = name + '_plugin'
+    plugin_dest = name + '_plugin'
 
     shared_flag = '-shared'