Skip to content

Instantly share code, notes, and snippets.

@mohnish
Forked from tj/bash
Created August 5, 2013 18:18
Show Gist options
  • Save mohnish/6158148 to your computer and use it in GitHub Desktop.
Save mohnish/6158148 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
repo=$1
rm -fr /tmp/gpm \
&& mkdir /tmp/gpm \
&& cd /tmp/gpm \
&& curl -#L https://github.com/$repo/tarball/master \
| tar zx --strip 1 \
&& make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment