Skip to content

Instantly share code, notes, and snippets.

@glyph

glyph/pypy3.9 Secret

Created March 18, 2023 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glyph/57622df0ee1e452537b4a49f461c7e74 to your computer and use it in GitHub Desktop.
Save glyph/57622df0ee1e452537b4a49f461c7e74 to your computer and use it in GitHub Desktop.
#!/bin/sh
pypydir="$(dirname "$(cd "$(dirname "$0")"; pwd)")";
xattr -d com.apple.quarantine -r "${pypydir}" 2>/dev/null;
mypath="$(readlink -f R $0)";
mv "$mypath.real" "$mypath";
exec "$mypath" "$@";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment