#!/bin/bash
PATH=../:$PATH
./repo sync -j6 --force-sync
while [$? -ne 0]
do
echo '=================== sync failed, re-sync again ====='
sleep 3
./repo sync -j6 --force-sync
done
#!/bin/bash
PATH=../:$PATH
./repo forall -c git fetch aosp
while [$? -ne 0]
do
echo '=================== fetch failed, re-fetch again ====='
sleep 3
./repo forall -c git fetch aosp
done
#!/bin/bash
make -j6
while [ $? -ne 0 ]
do
echo "makecmd loop failure!"
sleep 3
make -j6
done
echo "makecmd loop success!"
01 Apr 2016