Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created June 30, 2011 22:10
Show Gist options
  • Save fitoria/1057400 to your computer and use it in GitHub Desktop.
Save fitoria/1057400 to your computer and use it in GitHub Desktop.
Install tigger with rvm at your home
#!/bin/bash
export TIGGER_HOME=$HOME/.tigger/bin
echo "bajando y descomprimiendo tigger"
curl http://www.tiggerlovesdevs.com/tigger.tar.bz2 | tar -jxv
cd tigger
echo "reparando makefile"
sed "s@/usr/bin@$TIGGER_HOME@g" makefile > makefile.temp
cat makefile.temp > makefile
rm makefile.temp
echo "creando carpeta destino"
mkdir -p $TIGGER_HOME
echo "compilando"
make
cd ..
echo borrando directorios
rm -rf tigger
echo agregar export $TIGGER_HOME a tu bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment