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 <mark.beierl@canonical.com>
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 -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