From da3d3606b405938bd41768de3fdcb75368e13096 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 25 Apr 2023 14:36:09 -0400 Subject: [PATCH] jjb: binutils-gdb: clean up cores in /tmp Change-Id: Ie47cbbba30af58f3bac7c10e6a8a12439085495a --- scripts/binutils-gdb/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index 765888c..eebe0f8 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -207,6 +207,10 @@ if use_ccache; then ccache -c fi +# This job has been seen generating cores in /tmp, filling and and causing +# problems. Remove any leftover core from a previous job. +rm /tmp/core.* || true + # Enter the source directory cd "$SRCDIR" -- 2.34.1