From 2d5b98caa7d0491da6fbda4b5602de4c8168b565 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 28 Feb 2012 19:14:09 +0000 Subject: [PATCH] make git fetch of gtk+ idempotent git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11545 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/build-gtk-stack | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/build-gtk-stack b/tools/build-gtk-stack index def5795866..04b6f178ba 100644 --- a/tools/build-gtk-stack +++ b/tools/build-gtk-stack @@ -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