Skip to content

Commit

Permalink
[sonic-frr]: Checkout gracefully if branch exists already. (sonic-net…
Browse files Browse the repository at this point in the history
  • Loading branch information
mssonicbld authored Jun 12, 2023
1 parent d360ec0 commit 9ae7e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-frr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ STG_BRANCH = stg_temp.$(SUFFIX)
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
# Build the package
pushd ./frr
git checkout -b $(FRR_BRANCH) origin/$(FRR_BRANCH)
git checkout -b $(FRR_BRANCH) origin/$(FRR_BRANCH) || git checkout $(FRR_BRANCH)
stg branch --create $(STG_BRANCH) $(FRR_TAG)
stg import -s ../patch/series
tools/tarsource.sh -V -e '-sonic'
Expand Down

0 comments on commit 9ae7e3a

Please sign in to comment.