From dc3fd2e2147dddcb8b6baa94f02195cbd618676a Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Wed, 25 Jan 2017 13:24:39 +0100 Subject: [PATCH] component/re6stnet: PATH is not always set on the environment. --- component/re6stnet/buildout.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/re6stnet/buildout.cfg b/component/re6stnet/buildout.cfg index 3834871ca..45caffff3 100644 --- a/component/re6stnet/buildout.cfg +++ b/component/re6stnet/buildout.cfg @@ -19,4 +19,4 @@ eggs = # provided by SlapOS initialization = import os - os.environ['PATH'] = "${openvpn:location}/sbin:${babeld:location}/bin:${openssl:location}/bin:${python2.7:location}/bin:" + os.environ['PATH'] + os.environ['PATH'] = "${openvpn:location}/sbin:${babeld:location}/bin:${openssl:location}/bin:${python2.7:location}/bin:" + os.environ.get('PATH', '/bin:/sbin:/usr/bin/:/usr/local/sbin') -- 2.30.9