Shorten "addons/wr-cgcs/layers/cgcs" to just "stx"

Part of the project to remove cgcs references.
Replace and shorten the path the needlessly long and
complex "addons/wr-cgcs/layers/cgcs" path with just "stx".

This update just fixes up paths found in scripts, comments
and config files.

Depends-On: https://review.openstack.org/579954
Depends-On: https://review.openstack.org/579957
Depends-On: https://review.openstack.org/580170
Change-Id: I1c8f022bcf3e7eaca88c19c902484ef79811a07b
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-06-29 15:14:40 -04:00
parent c172f502b1
commit d7c5879469
1 changed files with 2 additions and 2 deletions

View File

@ -881,7 +881,7 @@ class RecipeData:
my_repo = os.environ['MY_PATCH_REPO']
if my_repo is not None:
altpath = "%s/addons/wr-cgcs/layers/cgcs/extras.ND/scripts/source_collect_package" % my_repo
altpath = "%s/stx/extras.ND/scripts/source_collect_package" % my_repo
if os.path.isfile(altpath):
path = altpath
@ -1484,7 +1484,7 @@ def set_capture_source_path():
my_repo = os.environ['MY_PATCH_REPO']
if my_repo is not None:
old_path = "%s/addons/wr-cgcs/layers/cgcs/extras.ND/scripts/source_collect_package" % my_repo
old_path = "%s/stx/extras.ND/scripts/source_collect_package" % my_repo
if os.path.isfile(old_path):
rc = issue_cmd_rc("mkdir -p %s" % new_dir)
rc = issue_cmd_rc("\cp -f %s %s" % (old_path, new_path))