update installation in git-extras update

This commit is contained in:
spacewander 2015-05-30 12:31:23 +08:00
parent 8283401d2b
commit a498332c96

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)"