Created
April 20, 2018 21:13
-
-
Save aforsythe/bc9e0721e55e4dba250cf3597a9b83f7 to your computer and use it in GitHub Desktop.
Shell script to install CTL and ACES transforms
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
#!/usr/bin/env bash | |
# Shell script to install homebrew, git, CTL, the latest release of the ACES CTL | |
# transforms, and all dependancies. | |
# Install Homebrew if it's not installed or do a brew update if it is | |
if type brew 2>/dev/null; then | |
brew update | |
else | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo -ne '\n' | |
fi | |
# Install git, CTL, and dependancies | |
brew install git ctl | |
# Get ACES transforms | |
cd ~ | |
git clone https://github.com/ampas/aces-dev.git | |
# Set CTL_MODULE_PATH environment variable in .bash_profile | |
echo 'export CTL_MODULE_PATH=~/aces-dev/transforms/ctl/lib' >>~/.bash_profile | |
# Run the .bash_profile | |
source .bash_profile | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment