diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-02-15 09:33:26 -0800 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2012-02-15 09:35:15 -0800 |
commit | 411fad5eb73a21a691bcfd876afd5143983fab27 (patch) | |
tree | dc6cef4efb0d93348de172acf8574dc49d07125b /generate-blob-lists.sh | |
parent | b55ae8e7a2f902030fe24a6d91ec0465000762a8 (diff) | |
download | android_device_common-411fad5eb73a21a691bcfd876afd5143983fab27.tar.gz android_device_common-411fad5eb73a21a691bcfd876afd5143983fab27.tar.bz2 android_device_common-411fad5eb73a21a691bcfd876afd5143983fab27.zip |
Use parallel syncs.
Also, wait until syncing is done to write the tree.
Also, only delete the out tree.
Change-Id: I7d6c144c8ea5a702b74c827dd5879107baa4c145
Diffstat (limited to 'generate-blob-lists.sh')
-rwxr-xr-x | generate-blob-lists.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/generate-blob-lists.sh b/generate-blob-lists.sh index 3977571..02323b2 100755 --- a/generate-blob-lists.sh +++ b/generate-blob-lists.sh @@ -45,9 +45,9 @@ shift DEVICES="crespo crespo4g stingray wingray panda toro torospr maguro" export LC_ALL=C -repo sync -repo sync -repo sync +repo sync -j32 -n +repo sync -j32 -n +repo sync -j2 -l ARCHIVEDIR=archive-$(date +%s) if test -d archive-ref @@ -120,7 +120,10 @@ do fi done -if ! test -d archive-ref +if true +then + rm -rf out/ +elif ! test -d archive-ref then echo * device/* | tr \ \\n | |