summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlbonn <lbonn@users.noreply.github.com>2019-07-19 11:18:43 +0200
committerGitHub <noreply@github.com>2019-07-19 11:18:43 +0200
commitd965046f12f9a29b166949b8c27bdf96fba6d3b7 (patch)
tree282ad080018c2ea7bcb6a616dcd8c47e8ec51372
parent1961fa5cf76e91c424717fac26ac64d7ea8fc39e (diff)
parentaa02efc39ead71faa6708e01eae24f445df672b2 (diff)
downloadmeta-updater-d965046f12f9a29b166949b8c27bdf96fba6d3b7.tar.gz
Fix pre-clean of repo manifests (#554)
Fix pre-clean of repo manifests
-rwxr-xr-xscripts/ci/checkout-oe.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/ci/checkout-oe.sh b/scripts/ci/checkout-oe.sh
index 523d71c..fdc0e48 100755
--- a/scripts/ci/checkout-oe.sh
+++ b/scripts/ci/checkout-oe.sh
@@ -19,9 +19,11 @@ mkdir -p updater-repo
19 19
20cd updater-repo 20cd updater-repo
21 21
22repo init -m "${MANIFEST}.xml" -u "$REMOTE_SOURCE/updater-repo" 22if [ -d .repo/manifests ]; then
23 git -C .repo/manifests reset --hard
24fi
23 25
24git -C .repo/manifests reset --hard 26repo init -m "${MANIFEST}.xml" -u "$REMOTE_SOURCE/updater-repo"
25 27
26# patch manifest: 28# patch manifest:
27# - add a new "ats" remote that points to "$REMOTE_SOURCE" 29# - add a new "ats" remote that points to "$REMOTE_SOURCE"