1#!/usr/bin/env bash
2
3# This is not supposed to be an error-prone script; just a convenience.
4
5# Install CCM
6pip install --user cql PyYAML six
7git clone https://github.com/pcmanus/ccm.git
8pushd ccm
9./setup.py install --user
10popd
11
12if [ "$1" != "gocql/gocql" ]; then
13    USER=$(echo $1 | cut -f1 -d'/')
14    cd ../..
15    mv ${USER} gocql
16fi
17