Last active
August 1, 2018 22:29
-
-
Save qoomon/9051291120d40287ee4e211f36b57440 to your computer and use it in GitHub Desktop.
Homebrew - install specific formula version
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
https://github.com/Homebrew/homebrew-core/raw/0ae3bc02d2962a39ccec65052fcffa82becc5bb6/Formula/abcl.rb | |
BREW_GITHUB_REPO='https://github.com/Homebrew/homebrew-core' | |
FORMULA_NAME="${1}" | |
# find formula version and coresponding commit hash at http://braumeister.org | |
FORMULA_COMMIT="${2}" | |
brew install '${BREW_GITHUB_REPO}/raw/${FORMULA_COMMIT}/Formula/${FORMULA_NAME}.rb' && brew pin '${FORMULA_NAME}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment