Skip to content

Commit 49af448

Browse files
carenasgitster
authored andcommitted
ci: reintroduce prevention from perforce being quarantined in macOS
5ed9fc3 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d1c9195 commit 49af448

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/install-dependencies.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ macos-latest)
4141
(
4242
cd $HOME/bin
4343
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
4546
)
4647
PATH="$PATH:${HOME}/bin"
4748
export PATH

0 commit comments

Comments
 (0)