Skip to content

Instantly share code, notes, and snippets.

View hdoedens's full-sized avatar

Harm Doedens hdoedens

View GitHub Profile
@bryanhunter
bryanhunter / r15b03-on-raspbian1212.sh
Last active May 20, 2017 11:29
Builds Erlang R15B03 from source on the Raspberry Pi. Tested on the 2012-12-16 build of Raspbian (Wheezy)
#!/bin/bash
# Pull this file dowm, make it executable and run it with sudo
# wget https://gist.github.com/raw/4361444/r15b03-on-raspbian1212.sh
# chmod u+x r15b03-on-raspbian1212.sh
# sudo ./r15b03-on-raspbian1212.sh
if [ $(id -u) != "0" ]; then
echo "You must be the superuser to run this script" >&2
exit 1
fi