-
-
Save breiter/b82b4121c4195462441c to your computer and use it in GitHub Desktop.
brew wrapper to set HOMEBREW_CASK_OPTS
This file contains 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 | |
# work around brew "feature" where it ignores HOMEBREW_CASK_OPTS when | |
# run with sudo. | |
HOMEBREW_CASK_OPTS="--appdir=/Applications" /opt/homebrew/bin/brew $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment