From: Simon Marchi Date: Tue, 25 Apr 2023 18:36:09 +0000 (-0400) Subject: jjb: binutils-gdb: clean up cores in /tmp X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=da3d3606b405938bd41768de3fdcb75368e13096;p=lttng-ci.git jjb: binutils-gdb: clean up cores in /tmp Change-Id: Ie47cbbba30af58f3bac7c10e6a8a12439085495a --- 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"