diff options
author | jeresig <jeresig@gmail.com> | 2009-12-31 09:59:16 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-31 09:59:16 -0500 |
commit | 6cf981eea20695987b4f7341f80442a7cf8271eb (patch) | |
tree | 0db15df18fa4c05c59938fbfbf5ebe8721954720 /Makefile | |
parent | ea5d51400820585a6d31011e1a1109c5a1213360 (diff) | |
download | jquery-6cf981eea20695987b4f7341f80442a7cf8271eb.tar.gz jquery-6cf981eea20695987b4f7341f80442a7cf8271eb.zip |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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} |