13 lines
451 B
Text
13 lines
451 B
Text
|
Index: lib/exabgp/application/bgp.py
|
||
|
--- lib/exabgp/application/bgp.py.orig
|
||
|
+++ lib/exabgp/application/bgp.py
|
||
|
@@ -151,7 +151,7 @@ def main():
|
||
|
options, ['/bin/exabgp', '/sbin/exabgp', '/lib/exabgp/application/bgp.py', '/lib/exabgp/application/control.py']
|
||
|
)
|
||
|
prefix = '' if root == '/usr' else root
|
||
|
- etc = prefix + '/etc/exabgp'
|
||
|
+ etc = '${SYSCONFDIR}/exabgp'
|
||
|
|
||
|
os.environ['EXABGP_ETC'] = etc # This is not most pretty
|
||
|
|