Skip to content

Instantly share code, notes, and snippets.

@archaelus
Created June 2, 2010 16:20
Show Gist options
  • Save archaelus/422612 to your computer and use it in GitHub Desktop.
Save archaelus/422612 to your computer and use it in GitHub Desktop.
#!/bin/bash
rm -rf ~/erlang/otp/release
cd ~/otp
./otp_build release -a ~/erlang/otp/release && \
(brew unlink erlang; \
rm -rf ~/usr/Cellar/erlang/HEAD; \
mv ~/erlang/otp/release ~/usr/Cellar/erlang/HEAD; \
cd ~/usr/Cellar/erlang/HEAD; \
./Install -minimal ~/usr/Cellar/erlang/HEAD; \
brew link erlang)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment