Commit 14bf54b1 authored by Antoine Catton's avatar Antoine Catton

Fix environment passing

parent e9c459d1
......@@ -68,9 +68,6 @@ input = inline:
LDFLAGS=${environment:LDFLAGS}
PKG_CONFIG_PATH=${environment:PKG_CONFIG_PATH}
LD_LIBRARY_PATH=${environment:LD_LIBRARY_PATH}
[data]
libcap-location=${libcap:location}
attr-location:${attr:location}
output = ${buildout:directory}/environment.cfg
[sh-environment]
......@@ -101,6 +98,8 @@ eggs =
initialization =
import os
os.environ['PATH'] = os.path.expandvars('${environment:PATH}')
os.environ['LIBCAP_LOCATION'] = '${libcap:location}'
os.environ['ATTR_LOCATION'] = '${attr:location}'
# control scripts generation in order to avoid reinstalling bin/buildout
scripts =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment