summaryrefslogtreecommitdiffhomepage
path: root/.buildkite/hooks/pre-command
diff options
context:
space:
mode:
Diffstat (limited to '.buildkite/hooks/pre-command')
-rw-r--r--.buildkite/hooks/pre-command5
1 files changed, 4 insertions, 1 deletions
diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command
index 4f41fe021..ba688f9ac 100644
--- a/.buildkite/hooks/pre-command
+++ b/.buildkite/hooks/pre-command
@@ -27,4 +27,7 @@ if test "${BUILDKITE_BRANCH}" = "master"; then
export BENCHMARKS_OFFICIAL=true
else
export BENCHMARKS_OFFICIAL=false
-fi \ No newline at end of file
+fi
+
+# Clear existing profiles.
+sudo rm -rf /tmp/profile