Clean up build directory 62/9462/1
authorbeierlm <mark.beierl@canonical.com>
Fri, 17 Jul 2020 19:03:15 +0000 (15:03 -0400)
committerbeierlm <mark.beierl@canonical.com>
Fri, 17 Jul 2020 19:03:15 +0000 (15:03 -0400)
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>
build-debpkg.sh

index 0831a71..61cf51b 100755 (executable)
@@ -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