From 0515c448592e2b24f79e8a7bd249b396f4f0da62 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Mon, 8 Mar 2021 15:02:26 -0800
Subject: [PATCH] linux/make_artifacts.sh: Use -f when removing artifacts/DONE.

---
 linux/make_artifacts.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 43002218e..043b3f9f2 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -11,7 +11,8 @@ esac
 
 ARTIFACTS="${ARTIFACTS:-/artifacts}"
 
-rm $ARTIFACTS/*
+# This is our sentinel that tells us when we're done.
+rm -f $ARTIFACTS/DONE
 
 clean_up() {
   echo "All done!" > "$ARTIFACTS/DONE"