From 9c9886e3fbb9040d3786203bbc2a16898f00da60 Mon Sep 17 00:00:00 2001 From: Kyle Squizzato Date: Fri, 23 Aug 2024 15:41:10 -0700 Subject: [PATCH] Ignore mv errors in Makefile, ignore cloud-nuke configs Signed-off-by: Kyle Squizzato --- .gitignore | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 884169b67..e089f3734 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ dist go.work go.work.sum +# cloud nuke config +*cloud_nuke.yaml + # editors .idea *.swp diff --git a/Makefile b/Makefile index 3fa17d2be..c419bb1e9 100644 --- a/Makefile +++ b/Makefile @@ -419,6 +419,6 @@ set -e; \ package=$(2)@$(3) ;\ echo "Downloading $${package}" ;\ GOBIN=$(LOCALBIN) go install $${package} ;\ -mv "$$(echo "$(1)" | sed "s/-$(3)$$//")" $(1) ;\ +mv "$$(echo "$(1)" | sed "s/-$(3)$$//")" $(1) 2> /dev/null;\ } endef