RHEL/Android/Git/repo loop

版权声明: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

猜你喜欢

转载自blog.csdn.net/hushui/article/details/83378170