make git fetch of gtk+ idempotent

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11545 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-02-28 19:14:09 +00:00
parent c960b47a3c
commit 2d5b98caa7

View file

@ -153,8 +153,10 @@ if [ $download ] ; then
fi
echo "GTK+ (2.24 branch)"
git clone git://git.gnome.org/gtk+
git checkout --track -b gtk-2-24 origin/gtk-2-24
if [ ! -d gtk+ ] ; then
git clone git://git.gnome.org/gtk+
git checkout --track -b gtk-2-24 origin/gtk-2-24
fi
exit 0
fi