From 0bb2733aae93427abbdc8c05027ad7592b67fbbd Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Fri, 14 Sep 2018 17:10:57 +0100 Subject: [PATCH] Kill any left overs from previous builds before proceeding --- compile/eclipsebuild/eclipseds5build.gsh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compile/eclipsebuild/eclipseds5build.gsh b/compile/eclipsebuild/eclipseds5build.gsh index 68bb64a..6cc4c31 100644 --- a/compile/eclipsebuild/eclipseds5build.gsh +++ b/compile/eclipsebuild/eclipseds5build.gsh @@ -7,9 +7,10 @@ def doKillLeftovers() { ps aux | grep "eclipsews" ps aux | grep "make" ps aux | grep "arm-linux" - pkill -9 eclipsews - pkill -9 make - pkill -9 "*arm-linux*" + # Don't return an error if the processes don't exist + pkill -9 eclipsews || true + pkill -9 make || true + pkill -9 "*arm-linux*" || true """ } }