mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 20:38:00 +01:00
branch store fix
This commit is contained in:
parent
b1b3b6253c
commit
28caf6268c
1 changed files with 9 additions and 10 deletions
19
Makefile
19
Makefile
|
@ -1,14 +1,13 @@
|
|||
SHELL=bash
|
||||
|
||||
BRANCH="$(git branch | grep \\\* | sed -e s/\*\ //g)"
|
||||
|
||||
|
||||
manual-update:
|
||||
git checkout master
|
||||
makeinfo --html "./manuals/ponysay.texinfo"
|
||||
git add "./ponysay"
|
||||
git stash
|
||||
git checkout $(BRANCH)
|
||||
git rm "./pages/ponysay/*"
|
||||
git stash pop
|
||||
(branch=$$(git branch | grep \\\* | sed -e s/\*\ //g) \
|
||||
git checkout master \
|
||||
makeinfo --html "./manuals/ponysay.texinfo" \
|
||||
git add "./ponysay" \
|
||||
git stash \
|
||||
git checkout $(BRANCH) \
|
||||
git rm "./pages/ponysay/*" \
|
||||
git stash pop \
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue