Mercurial > packages > rhel6 > uwsgi
annotate 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 |
rev | line source |
---|---|
0
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
1 Index: uwsgi-1.9.13/uwsgiconfig.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
2 =================================================================== |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
3 --- uwsgi-1.9.13.orig/uwsgiconfig.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
4 +++ uwsgi-1.9.13/uwsgiconfig.py |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
5 @@ -1170,10 +1170,7 @@ def build_plugin(path, uc, cflags, ldfla |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
6 except: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
7 pass |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
8 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
9 - if uc: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
10 - plugin_dest = uc.get('plugin_dir') + '/' + name + '_plugin' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
11 - else: |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
12 - plugin_dest = name + '_plugin' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
13 + plugin_dest = name + '_plugin' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
14 |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
15 shared_flag = '-shared' |
9668c317e887
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
16 |