From e3d8c6dc468e8890cbba0b9bfb91a79a7cc95605 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 5 Aug 2024 23:37:27 +0100 Subject: [PATCH] Make ci pre setup script a bit more ARM resilient --- scripts/github-ci-pre.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/github-ci-pre.sh b/scripts/github-ci-pre.sh index b7f75d137..e786ea3c6 100755 --- a/scripts/github-ci-pre.sh +++ b/scripts/github-ci-pre.sh @@ -7,7 +7,9 @@ set -o pipefail export IS_CI=1 # Remove the pre-installed Cocoapods binary -rm /usr/local/bin/pod +if [ -f /usr/local/bin/pod ]; then + rm /usr/local/bin/pod +fi # We can't even installdeps without greadlink existing, so grab that first brew install coreutils