Skip to content

Instantly share code, notes, and snippets.

@aforsythe
Created April 20, 2018 21:13
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aforsythe/bc9e0721e55e4dba250cf3597a9b83f7 to your computer and use it in GitHub Desktop.
Save aforsythe/bc9e0721e55e4dba250cf3597a9b83f7 to your computer and use it in GitHub Desktop.
Shell script to install CTL and ACES transforms
#!/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