diff --git a/build-scripts/build_branches.sh b/build-scripts/build_branches.sh index 6e3b46a382..368eca4a80 100755 --- a/build-scripts/build_branches.sh +++ b/build-scripts/build_branches.sh @@ -16,7 +16,7 @@ rm -r "$LATESTS_DIR" mkdir "$LATESTS_DIR" cd "${GIT_DIR}" -git branch -r | while read i +git branch -r | grep origin | while read i do cd "${GIT_DIR}" ch=$(expr index "$i" ">")