From: beierlm Date: Fri, 17 Jul 2020 19:03:15 +0000 (-0400) Subject: Clean up build directory X-Git-Tag: release-v9.0-start~41 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F9462%2F1;p=osm%2Ftests.git Clean up build directory There are transient artifacts left behind from previous builds that can interfere with the current build. This change deletes the contents of deb_dist to make sure the packages are fresh with each build. Change-Id: I127261739929f6b4ac44dc35342ce9580d9301c1 Signed-off-by: beierlm --- diff --git a/build-debpkg.sh b/build-debpkg.sh index 0831a71..61cf51b 100755 --- a/build-debpkg.sh +++ b/build-debpkg.sh @@ -36,6 +36,7 @@ rm -rf $PKG_DIR rm -f *.orig.tar.xz rm -f *.deb rm -f $DEB_INSTALL +rm -rf deb_dist/* mkdir -p $PKG_DIR for dir in $PKG_DIRECTORIES; do