You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ja...@apache.org on 2015/05/13 23:46:24 UTC
trafficserver-qa git commit: Add support for symlinks in the top
level skeleton directory
Repository: trafficserver-qa
Updated Branches:
refs/heads/master c4cc41866 -> 5aee94822
Add support for symlinks in the top level skeleton directory
Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/5aee9482
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/5aee9482
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/5aee9482
Branch: refs/heads/master
Commit: 5aee948228f36bf05a5a6b39e5df0fd26f96c693
Parents: c4cc418
Author: Thomas Jackson <ja...@apache.org>
Authored: Wed May 13 14:45:10 2015 -0700
Committer: Thomas Jackson <ja...@apache.org>
Committed: Wed May 13 14:45:28 2015 -0700
----------------------------------------------------------------------
tsqa/environment.py | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/5aee9482/tsqa/environment.py
----------------------------------------------------------------------
diff --git a/tsqa/environment.py b/tsqa/environment.py
index 3064fb8..6244a52 100644
--- a/tsqa/environment.py
+++ b/tsqa/environment.py
@@ -350,6 +350,10 @@ class Environment(object):
os.path.join(dst_path, bin_item),
)
+ elif os.path.islink(src_path):
+ linkto = os.readlink(src_path)
+ os.symlink(linkto, dst_path)
+
elif os.path.isdir(src_path):
shutil.copytree(src_path,
dst_path,