From: tierno Date: Mon, 3 Aug 2020 13:39:44 +0000 (+0000) Subject: fix clean on RO package creation X-Git-Tag: release-v9.0-start~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=4327690ae33f666e701b46645a7429c3370ddbb9;p=osm%2FRO.git fix clean on RO package creation Change-Id: I85982a0aed17d13ec09b88c4aa8640af34cbeb95 Signed-off-by: tierno --- diff --git a/RO/Makefile b/RO/Makefile index 15dce714..437ce0e3 100644 --- a/RO/Makefile +++ b/RO/Makefile @@ -23,6 +23,8 @@ all: clean package clean: rm -rf dist deb_dist osm_ro-*.tar.gz osm_ro.egg-info .eggs + find osm_ro -name '*.pyc' -delete + find osm_ro -name '*.pyo' -delete package: # apt-get install -y python-stdeb diff --git a/devops-stages/stage-build.sh b/devops-stages/stage-build.sh index 5ac3f7a9..a2f565a1 100755 --- a/devops-stages/stage-build.sh +++ b/devops-stages/stage-build.sh @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +set -ex + rm -rf deb_dist/* mkdir -p deb_dist