diff options
author | Yifei Xue <xueyifei@huawei.com> | 2016-05-24 18:52:35 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2016-05-24 19:25:22 +0800 |
commit | 5d40016071b782e281f74cb5180ef5098331bf09 (patch) | |
tree | 9f0595108eb6082af3644773cfe638d93c68be71 /build | |
parent | 0ed4e93eb256c60a326d233dbf3259e123caf2d1 (diff) |
Update build and make_repo script for Mitaka_trusty
JIRA: COMPASS-396
Change-Id: I62ee005d16374daadc74de18d01c724eaa44be26
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'build')
-rwxr-xr-x | build/make_repo.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/make_repo.sh b/build/make_repo.sh index bebb5060..4299868c 100755 --- a/build/make_repo.sh +++ b/build/make_repo.sh @@ -117,9 +117,9 @@ function make_repo() mkdir -p ${WORK_PATH}/work/tmp echo "${ansible_dir}" cp -rf ${ansible_dir}/roles/ ${WORK_PATH}/work/tmp/ - if [[ -d ${ansible_dir}/openstack_${package_tag} && "`ls ${ansible_dir}/openstack_${package_tag}`" != "" ]]; then - cp -rf ${ansible_dir}/openstack_${package_tag}/* ${WORK_PATH}/work/tmp/roles/ - fi + if [[ -d ${ansible_dir}/openstack_${package_tag}/roles && "`ls ${ansible_dir}/openstack_${package_tag}`" != "" ]]; then + cp -rf ${ansible_dir}/openstack_${package_tag}/roles/* ${WORK_PATH}/work/tmp/roles/ + fi ansible_dir_tmp=${WORK_PATH}/work/tmp/ fi |