[FRR]there is no need to checkout master branch after compiling frr. (#3941)

Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
This commit is contained in:
wangshengjun 2020-01-24 06:41:02 +08:00 committed by pavel-shirshov
parent 38b7d30295
commit 70e8c5e29e

View File

@ -21,7 +21,6 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
git checkout $(FRR_BRANCH)
stg branch --delete $(STG_BRANCH)
git rev-parse --short HEAD | xargs git checkout
git checkout master
git branch -D $(FRR_BRANCH)
popd
mv $(DERIVED_TARGET) $* $(DEST)/