Cleaning up the old build

When building multiple times it happens
that packages with different versions
will be build into the plugin.

Change-Id: I7e73be979c672822e62a0d52ed47669d14c98100
This commit is contained in:
Nikolas Hermanns 2016-07-01 06:55:30 +02:00
parent 8eb70403e0
commit 23f640a28b
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,8 @@ function patch_networking_odl_deb {
}
function build_pkg {
# clean up
rm -rf ${DIR}/repositories/${1}/*
case $1 in
centos)
pushd "${DIR}/repositories/${1}/"