diff options
Diffstat (limited to 'round-robin.sh')
-rw-r--r-- | round-robin.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh index 034e6726..e843f4a2 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -63,7 +63,7 @@ reset_artifacts () rr[base-artifacts_rev]="${rr[base-artifacts_rev]-${rr[baseline_branch]}}" clone_or_update_repo base-artifacts ${rr[base-artifacts_rev]} https://git-us.linaro.org/toolchain/ci/base-artifacts.git auto $single_branch cat <<EOF | manifest_out -rr[base-artifacts_rev]=$(git_rev_parse_long base-artifacts HEAD) +rr[base-artifacts_rev]=$(git -C base-artifacts rev-parse HEAD) EOF ) } @@ -117,7 +117,7 @@ clone_repo () clone_or_update_repo $project $branch ${rr[${project}_url]} > /dev/null local cur_rev - cur_rev=$(git_rev_parse_long $project HEAD) + cur_rev=$(git -C $project rev-parse HEAD) cat <<EOF | manifest_out rr[${project}_rev]=$cur_rev |