Commit 6cf981ee authored by jeresig's avatar jeresig

Allow the Makefile to be more resiliant to broken builds and handle...

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.
parent ea5d5140
...@@ -41,10 +41,10 @@ ${DIST_DIR}: ...@@ -41,10 +41,10 @@ ${DIST_DIR}:
init: init:
@@echo "Grabbing external dependencies..." @@echo "Grabbing external dependencies..."
@@if test ! -d test/qunit; 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; 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 @@cd src/sizzle && git pull origin master > /dev/null 2>&1
@@cd test/qunit && git pull origin master &> /dev/null @@cd test/qunit && git pull origin master > /dev/null 2>&1
jquery: ${DIST_DIR} selector ${JQ} jquery: ${DIST_DIR} selector ${JQ}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment