bruce@ubuntu:~/aosp$ cat download.sh #!/bin/bash echo "start repo sh" repo sync #first sync android code while [$?!=0]; do echo "sync failed,retry sync" sleep 3 repo sync #try again echo 2 second done
chmod +x download.sh
2022-08-07 18:58:24
bruce@ubuntu:~/aosp$ cat download.sh #!/bin/bash echo "start repo sh" repo sync #first sync android code while [$?!=0]; do echo "sync failed,retry sync" sleep 3 repo sync #try again echo 2 second done
chmod +x download.sh