diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsgi-do-not-install-plugins-into-plugin_dir.patch	Wed Jul 10 19:23:16 2013 +0200
@@ -0,0 +1,16 @@
+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'
+