This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
products:sbc:vim1:development:android:download-android-source-code [2022/09/28 09:41] nick |
products:sbc:vim1:development:android:download-android-source-code [2024/07/05 06:33] (current) william |
||
---|---|---|---|
Line 51: | Line 51: | ||
```shell | ```shell | ||
- | $ repo sync -j4 | + | $ repo sync -c -j4 |
``` | ``` | ||
The initial sync operation may take an hour or more to complete. | The initial sync operation may take an hour or more to complete. | ||
Line 60: | Line 60: | ||
```shell | ```shell | ||
#!/bin/bash | #!/bin/bash | ||
- | repo sync -j4 | + | repo sync -c -j4 |
while [ $? = 1 ]; do | while [ $? = 1 ]; do | ||
echo "Sync failed, repeat again:" | echo "Sync failed, repeat again:" | ||
- | repo sync -j4 | + | repo sync -c -j4 |
done | done | ||
``` | ``` |