From 21f811d995810fb97c177a79ab20652e5af8c2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Fri, 18 Jun 2021 10:50:08 +0200 Subject: [PATCH] Added cleanup of intermediary building folders --- client-py3/full/linux/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client-py3/full/linux/Makefile b/client-py3/full/linux/Makefile index 853f49551..c84eba86a 100644 --- a/client-py3/full/linux/Makefile +++ b/client-py3/full/linux/Makefile @@ -61,7 +61,7 @@ endif ifeq ($(DISTRO),i686) cat udsclient-appimage-x86_64.recipe | sed -e s/"version: 0.0.0"/"version: $(VERSION)"/g | sed -e s/amd64/i386/g | sed -e s/x86_64/i686/g > appimage.recipe endif -# In case of error, continue +# Ensure all working folders are "clean" -rm -rf appimage appimage-builder-cache /tmp/UDSClientDir appimage-builder --recipe appimage.recipe @@ -75,3 +75,6 @@ endif cat installer-appimage-template.sh | sed -e s/"0.0.0"/"$(VERSION)"/g | sed -e s/x86_64/$(DISTRO)/g > $(DESTDIR)/installer.sh chmod 755 $(DESTDIR)/installer.sh tar czvf ../udsclient3-$(DISTRO)-$(VERSION).tar.gz -C $(DESTDIR) . + +# cleanup + -rm -rf appimage appimage-builder-cache /tmp/UDSClientDir