Removes wrong k8scluster tag on K8S-04 test, as all tests on the same file are tagged...
[osm/tests.git] / build-debpkg.sh
index e4e83b3..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
@@ -51,4 +52,6 @@ cp -R debian $PKG_DIR/.
 pushd $PKG_DIR
 dh_make -y --indep --createorig --a -c apache
 dpkg-buildpackage -uc -us -tc -rfakeroot
+RC=$?
 popd
+exit $RC