From 5d40016071b782e281f74cb5180ef5098331bf09 Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Tue, 24 May 2016 18:52:35 +0800 Subject: Update build and make_repo script for Mitaka_trusty JIRA: COMPASS-396 Change-Id: I62ee005d16374daadc74de18d01c724eaa44be26 Signed-off-by: Yifei Xue --- build/make_repo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build') 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 -- cgit 1.2.3-korg