5 echo "Usage: $0 <version>"
10 TARGET
="$HOME"/msysGit-
$VERSION.exe
12 case "$(basename "$
(cd /; pwd -W)")" in
15 echo "Basename of the msysGit directory is not msysGit"
19 cd "$(dirname "$
(cd /; pwd -W)")"
25 git ls-files |
grep -v '^\"\?git/gitweb' &&
27 sed "s|^|msysGit/|" > $LIST &&
30 OPTS7
="-m0=lzma -mx=9 -md=64M -sfx7z.sfx $TARGET" &&
32 "$PROGRAMFILES"/7-Zip/7z.exe a
$OPTS7 @
$LIST