From 6cf981eea20695987b4f7341f80442a7cf8271eb Mon Sep 17 00:00:00 2001 From: jeresig Date: Thu, 31 Dec 2009 09:59:16 -0500 Subject: [PATCH] Allow the Makefile to be more resiliant to broken builds and handle redirecting the output better in more shells. Thanks to 'candlerb' on jquery-dev for the suggestion. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a0dbd8b..fdb57bd 100644 --- a/Makefile +++ b/Makefile @@ -41,10 +41,10 @@ ${DIST_DIR}: init: @@echo "Grabbing external dependencies..." - @@if test ! -d test/qunit; then git clone git://github.com/jquery/qunit.git test/qunit; fi - @@if test ! -d src/sizzle; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi - @@cd src/sizzle && git pull origin master &> /dev/null - @@cd test/qunit && git pull origin master &> /dev/null + @@if test ! -d test/qunit/.git; then git clone git://github.com/jquery/qunit.git test/qunit; fi + @@if test ! -d src/sizzle/.git; then git clone git://github.com/jeresig/sizzle.git src/sizzle; fi + @@cd src/sizzle && git pull origin master > /dev/null 2>&1 + @@cd test/qunit && git pull origin master > /dev/null 2>&1 jquery: ${DIST_DIR} selector ${JQ} -- 1.7.10.4