Upgrade to openssl 1.0.1m
[msysgit.git] / src / git-wrapper / release.sh
blob6d02ac660aecf8d49ef41bf6be02635ea486f959
1 #!/bin/sh
3 cd "$(dirname "$0")"
5 DEST=/cmd/git.exe
7 die () {
8 echo "$*" >&2
9 exit 1
12 rmscript () {
13 test -f /cmd/git.cmd && rm /cmd/git.cmd || true
16 make &&
17 index=$(/share/msysGit/pre-install.sh) &&
18 rmscript &&
19 install -m 775 git-wrapper.exe $DEST &&
20 /share/msysGit/post-install.sh $index "Updated git wrapper exe" ||
21 die "Failed to update git wrapper executable"