版权声明:hushui版权所有 https://blog.csdn.net/hushui/article/details/83378170
lake@localhost:~/Google/android-8.1.0_r33$ cat ~/git_repository/repo-repeat.sh
#!/bin/bash
repo sync
while [ $? -ne 0 ]
do
sleep 10
repo sync
done
lake@localhost:~/Google/android-8.1.0_r33$ cat ~/git_repository/repo-repeat.sh
#!/bin/bash
repo sync
while [ $? -ne 0 ]
do
sleep 10
repo sync
done