summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-05-24 09:04:11 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-24 09:04:11 +0000
commitd145e106f192df2772a3c73f661243530c1f5bf3 (patch)
tree498179a727a4029ea30ec089ad897e237a82c6ba /build
parent2ca5561d0b0b1a913cca24c1571a612f381ea018 (diff)
parent5d40016071b782e281f74cb5180ef5098331bf09 (diff)
Merge "Update build and make_repo script for Mitaka_trusty"
Diffstat (limited to 'build')
-rwxr-xr-xbuild/make_repo.sh6
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