From b00904e9d853b5d91721298291a1bc11f5614c4c Mon Sep 17 00:00:00 2001 From: tierno Date: Mon, 3 Aug 2020 13:39:44 +0000 Subject: [PATCH] fix clean on RO package creation Change-Id: I85982a0aed17d13ec09b88c4aa8640af34cbeb95 Signed-off-by: tierno --- RO/Makefile | 2 ++ devops-stages/stage-build.sh | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.25.1