Ignore potential error codes from Github in doing a clone. Fixes #6049.

This commit is contained in:
Iraê Carvalho 2010-02-10 16:40:48 -05:00 committed by jeresig
parent 35c379075c
commit d3d497f900

View file

@ -43,8 +43,8 @@ init:
@@echo "Grabbing external dependencies..." @@echo "Grabbing external dependencies..."
@@if test ! -d test/qunit/.git; then git clone git://github.com/jquery/qunit.git test/qunit; fi @@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 @@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 src/sizzle && git pull origin master > /dev/null 2>&1
@@cd test/qunit && git pull origin master > /dev/null 2>&1 - @@cd test/qunit && git pull origin master > /dev/null 2>&1
jquery: ${DIST_DIR} selector ${JQ} jquery: ${DIST_DIR} selector ${JQ}
jq: ${DIST_DIR} ${JQ} jq: ${DIST_DIR} ${JQ}