Clean up temparary directories after creation of binary repo
During the build first binary packages are generated and copied into 'pre-repo' direcotory. Then binary repository is created and next step is to copy repository into final directory according agreed binary repo sirectories structure. After it temparal direcotries are not needed.
This commit is contained in:
parent
54ec30cc8e
commit
5b4af80b15
@ -70,4 +70,7 @@ $(<${script_dir}/templates/repository-config/deb.json.template)
|
||||
fi
|
||||
cd $dir
|
||||
|
||||
echo "cleaning ${unsorted_repo_dir}/$target/$box"
|
||||
rm -rf ${unsorted_repo_dir}/$target/$box
|
||||
|
||||
${mdbci_dir}/mdbci generate-product-repositories --product maxscale_ci --product-version $target
|
||||
|
@ -34,8 +34,10 @@ if [ $? != 0 ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "cleaning ${unsorted_repo_dir}/$target/$box/"
|
||||
rm -rf ${unsorted_repo_dir}/$target/$box/*
|
||||
echo "cleaning ${unsorted_repo_dir}/$target/$box"
|
||||
rm -rf ${unsorted_repo_dir}/$target/$box
|
||||
echo "cleaning ${pre_repo_dir}/$target/$box"
|
||||
rm -rf ${pre_repo_dir}/$target/$box
|
||||
|
||||
echo "copying repo from $box"
|
||||
mkdir -p ${unsorted_repo_dir}/$target/$box
|
||||
|
Loading…
x
Reference in New Issue
Block a user