Add /src/rebase
[msysgit.git] / src / rebase / release.sh
blob6da4cc45fe4b770db295115e2db3bd4c23e8f596
1 #!/bin/sh
3 cd "$(dirname "$0")" && . ../common/update-lib.sh
5 package=rebase
6 version=2.4.2-1
7 url=http://www.tishler.net/jason/software/rebase
8 d=rebase-$version
9 tar=$d-src.tar.bz2
10 configure_options=--prefix=
12 download &&
13 extract &&
14 test $d/.git || {
15 cd $d &&
16 git init &&
17 rm -rf .git/hooks &&
18 git add . &&
19 git commit -m initial &&
20 git am ../patches/*
21 } &&
22 compile &&
23 cp $d/rebase.exe /bin/ &&
24 (cd /bin && git add rebase.exe) &&
25 echo "You can commit rebase.exe now"