From 8716075a7c71f9f73563335eae51d3c9f7c637c0 Mon Sep 17 00:00:00 2001 From: Jon Ringle Date: Tue, 4 Jun 2024 14:48:09 -0400 Subject: [PATCH] Don't fail on rm *.sensitive if it was already removed earlier in script --- create-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-build.sh b/create-build.sh index 14d98168..36f2d9ae 100755 --- a/create-build.sh +++ b/create-build.sh @@ -94,7 +94,7 @@ if [[ "$(find "$NERVES_BUILD_DIR" -name "*.sensitive" | wc -l | tr -d '[:space:] " fi fi -rm "$NERVES_BUILD_DIR"/*.sensitive +rm -f "$NERVES_BUILD_DIR"/*.sensitive # Determine the NERVES_SYSTEM source directory NERVES_SYSTEM=$(dirname "$(readlink_f "${BASH_SOURCE[0]}")")