Merge pull request #378 from spacewander/master

update installation in `git-extras update`
This commit is contained in:
hemanth.hm 2015-05-30 12:41:57 +05:30
commit f754d38f30

View file

@ -9,8 +9,9 @@ update() {
cd /tmp \
&& rm -fr ./git-extras \
&& git clone --depth 1 https://github.com/tj/git-extras.git \
&& git clone https://github.com/tj/git-extras.git \
&& cd git-extras \
&& git checkout $(git describe --tags $(git rev-list --tags --max-count=1))\
&& PREFIX="$prefix" make install \
&& cd "$orig" \
&& echo "... updated git-extras $VERSION -> $(git extras --version)"