Merge "parallelize the launching of $OPTICHARGER form squiasher script" into froyo
diff --git a/tools/squisher b/tools/squisher
index aaf2287..9629fa8 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -76,7 +76,7 @@
 cd $REPACK/ota/system/framework
 $OPTICHARGER framework-res.apk
 cd $REPACK/ota/system/app
-for i in *.apk; do $OPTICHARGER $i; done
+find ./ -name \*.apk | xargs  --max-args=1 --max-procs=`grep 'processor' /proc/cpuinfo | wc -l`  $OPTICHARGER
 )