[mingw-cross-compile.sh] Fix to use git rather than svn

The script includes a part to automatically checkout the Clutter
source and build it but it was using the old svn repo instead of git.
This commit is contained in:
Neil Roberts 2009-07-29 18:13:19 +01:00
parent d796d3c88c
commit 8ad446f3e9

View File

@ -42,7 +42,7 @@ GNUWIN32_DEPS=( \
jpeg-6b-4-{bin,lib}.zip \
tiff-3.8.2-1-{bin,lib}.zip );
CLUTTER_SVN="http://svn.o-hand.com/repos/clutter/trunk";
CLUTTER_GIT="git://git.clutter-project.org"
function download_file ()
{
@ -330,9 +330,9 @@ if y_or_n "Do you want to checkout and build Clutter?"; then
guess_dir CLUTTER_BUILD_DIR "clutter" \
"the build directory for clutter" "Build dir";
svn checkout "$CLUTTER_SVN/clutter" $CLUTTER_BUILD_DIR;
git clone "$CLUTTER_GIT/clutter" $CLUTTER_BUILD_DIR;
if [ "$?" -ne 0 ]; then
echo "svn failed";
echo "git failed";
exit 1;
fi;
( cd "$CLUTTER_BUILD_DIR" && ./autogen.sh --prefix="$ROOT_DIR" \