From cd10173e0e7d11a284f4a36ffd2a1311e7727e6f Mon Sep 17 00:00:00 2001 From: Eran Cohen Date: Wed, 24 Feb 2021 22:03:35 +0200 Subject: [PATCH] Don't fail make clean target in case bm-dell-clean.sh failed --- Makefile | 2 +- bm-dell-clean.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e5cd2fa..57d19ef 100644 --- a/Makefile +++ b/Makefile @@ -69,9 +69,9 @@ $(SSH_KEY_PUB_PATH): $(SSH_KEY_PRIV_PATH) .SILENT: destroy-libvirt clean: destroy-libvirt - $(SNO_DIR)/bm-dell-clean.sh rm -rf $(INSTALLER_WORKDIR) rm -rf registry-config.json + $(SNO_DIR)/bm-dell-clean.sh || true destroy-libvirt: echo "Destroying previous libvirt resources" diff --git a/bm-dell-clean.sh b/bm-dell-clean.sh index 86c5be7..dc3995e 100755 --- a/bm-dell-clean.sh +++ b/bm-dell-clean.sh @@ -2,4 +2,4 @@ set -euxo pipefail -podman rm -f httpd-iso +podman rm -f httpd-iso