devstack/inc
Dmitry Guryanov e0ac37c257 Fix path setup in add_sudo_secure_path
There are two bugs in add_sudo_secure_path.

Firstly we don't properly check if the file exists, so always append
the new line.  This will overwrite any existing changes.

Secondly the logic for checking if the path exists is inverted, so we
miss adding paths when we should.  This particularly causes failures
when installing with virtualenv's since the paths are inside the
virtualenv, rather than the standard system locations.

Change-Id: I646fe0c68958470d464fe4f3d81d5c17dd6f2ab6
Closes-bug: #1521241
2015-12-01 13:43:01 +11:00
..
ini-config Don't mix declaration and set of locals 2015-10-07 17:03:32 +11:00
meta-config Namespace XTRACE commands 2015-11-27 15:36:04 +11:00
python Merge "Don't mix declaration and set of locals" 2015-10-14 02:43:52 +00:00
rootwrap Fix path setup in add_sudo_secure_path 2015-12-01 13:43:01 +11:00