Created
August 10, 2016 12:31
-
-
Save zhgqthomas/ed860abe3dc8c8384447aed95011a35e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#FileName get-android.sh | |
PATH=./bin:$PATH | |
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-5.1.1_r38 | |
repo sync | |
while [ $? = 1 ]; do | |
echo "============ sync failed, re-sync again ===============" | |
sleep 3 | |
repo sync | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment