Last active
June 26, 2023 10:30
-
-
Save rluba/bd920abed1f77a860880bbcc10ac270d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# On macOS, anything you download via the web gets flagged as quarantined, which causes error dialogs when executing programs or loading libraries from quarantined directories. | |
# This script removes the quarantine flag from the whole compiler directory and its contents. | |
SCRIPT_DIR=`cd "$(dirname "$0")" >/dev/null 2>&1 && pwd` | |
echo "De-quarantining $SCRIPT_DIR" | |
xattr -dr com.apple.quarantine "$SCRIPT_DIR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment