#!/bin/bash -e

sudo apt-get install git
sudo apt-get build-dep btrfs-tools
dir=$RANDOM && mkdir -p /tmp/$dir && cd /tmp/$dir
git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git ./
sudo make install
