repo.or.cz
/
www.martinvillalba.com.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Import flag image set
[www.martinvillalba.com.git]
/
nginx_hooks.py
blob
bed4ac7de6401d8bafa0ac79b571eb7217ccbd89
1
import
os
2
3
def
post_make_hook
(
options
,
buildout
):
4
target
=
options
[
'prefix'
] +
'/sbin/nginx'
5
link
=
buildout
[
'buildout'
][
'directory'
] +
'/bin/nginx'
6
os
.
system
(
'ln -s "
{0}
" "
{1}
"'
.
format
(
target
,
link
))