mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
Merge pull request #378 from spacewander/master
update installation in `git-extras update`
This commit is contained in:
commit
f754d38f30
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue