1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

Remove files symlinked to /Library

Clean up /usr/local/bin symlinks to /Library that prevents "brew update"
from succeeding.
This commit is contained in:
B. Scott Michel
2023-10-22 12:17:46 -07:00
committed by B. Scott Michel
parent f75592c5b8
commit 737b135809

View File

@@ -46,6 +46,12 @@ jobs:
os: [macos-12, macos-11]
steps:
- uses: actions/checkout@v3
## For some reason, the macos-11 image has symlinks to /Library in /usr/local/bin
- name: Clean /usr/local/bin symlinks
run: |
for f in $(find /usr/local/bin -type l -print); do \
(readlink $f | grep -q -s "/Library") && echo Removing "$f" && rm -f "$f"; \
done || exit 0
- name: Install dependencies
run: |
sh -ex .travis/deps.sh osx