From 5da12e0a343fb6aecdbba2831bbac00c61e54710 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 4 Jul 2024 12:03:22 +0200 Subject: tools/syz-bq.sh: assume the dir is already a multirepo --- tools/syz-bq.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/syz-bq.sh b/tools/syz-bq.sh index b1163c52e..3319f4064 100755 --- a/tools/syz-bq.sh +++ b/tools/syz-bq.sh @@ -74,7 +74,8 @@ if [ ! -d $base_dir ]; then git clone $repo $base_dir fi cd $base_dir -git checkout $branch +remote=$(git remote -v | grep $repo | head -n1 | awk '{print $1;}') +git checkout $remote/$branch cd - # get the last merged commit at to_date -- cgit mrf-deployment