5 REPO
=https
://ccache-win32.googlecode.com
/svn
/trunk
/ccache-win32
15 git svn clone
$REPO -r$REV $DIR ||
16 die
"Could not clone $REPO"
18 test $
(cd $DIR && git rev-list HEAD |
wc -l) -gt 1 ||
19 (cd $DIR && git am ..
/patches
/*) ||
20 die
"Could not apply patches"
24 index
=$
(/share
/msysGit
/pre-install.sh
) &&
25 cp ccache.exe
/bin
/ &&
26 /share
/msysGit
/post-install.sh
$index "Install ccache-win32 (SVN revision $REV)"
27 ) || die
"Could not install ccache"