Repository: trafficserver-qa Updated Branches: refs/heads/master 9e99c096d -> ed2281264
Normalize the path to an absolute path. Since we are doing symlinking of the items in bindir we need to know the absolute path Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/ed228126 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/ed228126 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/ed228126 Branch: refs/heads/master Commit: ed2281264d1cc7dbb468e60fbd8ebb289ec5a242 Parents: 9e99c09 Author: Thomas Jackson <[email protected]> Authored: Wed Apr 8 13:14:46 2015 -0700 Committer: Thomas Jackson <[email protected]> Committed: Wed Apr 8 13:14:46 2015 -0700 ---------------------------------------------------------------------- tsqa/environment.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/ed228126/tsqa/environment.py ---------------------------------------------------------------------- diff --git a/tsqa/environment.py b/tsqa/environment.py index 71895fd..659cdcf 100644 --- a/tsqa/environment.py +++ b/tsqa/environment.py @@ -220,6 +220,8 @@ class Layout(object): } def __init__(self, prefix): + if prefix is not None: + prefix = os.path.abspath(prefix) self.prefix = prefix def __getattr__(self, name):
