ci: reintroduce prevention from perforce being quarantined in macOS

5ed9fc3fc86 (ci: prevent `perforce` from being quarantined, 2020-02-27) introduces this prevention for brew, but brew has been removed in a previous commit, so reintroduce an equivalent option to avoid a possible regression. This doesn't affect github actions (as configure now) and is therefore done silently to avoid any possible scary irrelevant messages. Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Carlo Marcelo Arenas Belón committed May 12, 2022 at 15:39 UTC 49af4481973d14d9cae1abb61e44f1567369cd65
1 file changed +2 -1
ci/install-dependencies.sh
+2 -1
@@ -41,7 +41,8 @@ macos-latest)
41 (
42 cd $HOME/bin
43 wget -q "https://cdist2.perforce.com/perforce/r21.2/bin.macosx1015x86_64/helix-core-server.tgz" &&
44 - tar -xf helix-core-server.tgz
44 + tar -xf helix-core-server.tgz &&
45 + sudo xattr -d com.apple.quarantine p4 p4d 2>/dev/null || true
46 )
47 PATH="$PATH:${HOME}/bin"
48 export PATH