1 parent 1442021 commit 1282ae1Copy full SHA for 1282ae1
1 file changed
scripts/Tegra/sync.sh
@@ -163,6 +163,13 @@ function DownloadAndSync {
163
popd > /dev/null
164
false
165
fi
166
+ if [[ $REPO_URL != `git config remote.origin.url` ]]; then
167
+ echo -e "\e[33mRepo URL are different:"
168
+ echo configured: $REPO_URL
169
+ echo actual: `git config remote.origin.url`
170
+ echo -e "Consider removing ${WHAT} folder and start again\e[0m"
171
+ fi
172
+ git config remote.origin.url
173
git tag -l 2>/dev/null | grep -q -P "^$TAG\$" || \
174
git fetch --all 2>&1 >/dev/null || true
175
0 commit comments