diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-05-26 11:27:21 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-05-26 11:27:21 +0000 |
commit | 9f4e89dd0170e73e0efb6a60485280ac146d34ed (patch) | |
tree | 6fccc8b18c1be8c4a1a0c597f60b84d6a2d79c0b | |
parent | de2a03f6bcb4294f185a794ebcd0797b4180c78c (diff) |
round-robin.sh: Fix one more artifact in build_abe()
Pass same fake git URL to abe in both build and check steps.
Before this patch we missed ".git" in the check step, which
caused ABE to try rebuild the component.
Change-Id: I0912854876b0054f413d168bd9152a2f530047a0
-rw-r--r-- | round-robin.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh index 5ba5bab4..e1fa13e7 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -347,19 +347,20 @@ build_abe () local custom_abe_src_opt="" local git_dir="$project" if [ x"$component" != x"linux" ]; then + git_dir="$git_dir.git" + custom_abe_src_opt="$project=http://git.l.o/$git_dir~master --disable update" + if ! $check; then clone_repo $project # Don't use ABE's repo clone functions and setup abe/snapshots/ # directory to have the right entries. local git_path - git_dir="$git_dir.git" git_path="abe/snapshots/$git_dir" rm -rf $git_path $git_path~master ln -s "$(pwd)/$project" $git_path ln -s "$(pwd)/$project" $git_path~master fi - custom_abe_src_opt="$project=http://git.l.o/$git_dir~master --disable update" fi cd abe |