Skip to content

Commit

Permalink
Address master already exists issue raised by #28
Browse files Browse the repository at this point in the history
  • Loading branch information
btalb committed Apr 29, 2021
1 parent b3dd2d9 commit 088c1ac
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/benchbot_install
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ chk_addonscloned_fix=\
'rm -rf '"$PATH_ADDONS"' &&
git clone '"$GIT_ADDONS $PATH_ADDONS"' &&
pushd '"$PATH_ADDONS"' &&
git fetch --all && git checkout -t origin/$BRANCH_DEFAULT && popd'
git fetch --all && (git checkout -t origin/$BRANCH_DEFAULT ||
git checkout $BRANCH_DEFAULT) && popd'
chk_addonscloned_reboot=1

chk_addonsuptodate_name='BenchBot Add-ons Manager up-to-date'
Expand Down Expand Up @@ -707,7 +708,8 @@ chk_apicloned_fix=\
'rm -rf '"$PATH_API"' &&
git clone '"$GIT_API $PATH_API"' &&
pushd '"$PATH_API"' &&
git fetch --all && git checkout -t origin/$BRANCH_DEFAULT && popd'
git fetch --all && (git checkout -t origin/$BRANCH_DEFAULT ||
git checkout $BRANCH_DEFAULT) && popd'
chk_apicloned_reboot=1

chk_apiuptodate_name='BenchBot API up-to-date'
Expand Down Expand Up @@ -765,7 +767,8 @@ chk_evalcloned_fix=\
'rm -rf '"$PATH_EVAL"' &&
git clone '"$GIT_EVAL $PATH_EVAL"' &&
pushd '"$PATH_EVAL"' &&
git fetch --all && git checkout -t origin/$BRANCH_DEFAULT && popd'
git fetch --all && (git checkout -t origin/$BRANCH_DEFAULT ||
git checkout $BRANCH_DEFAULT) && popd'
chk_evalcloned_reboot=1

chk_evaluptodate_name='BenchBot evaluation up-to-date'
Expand Down

0 comments on commit 088c1ac

Please sign in to comment.