summaryrefslogtreecommitdiff
path: root/tcwg-llvm-common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg-llvm-common.sh')
-rwxr-xr-xtcwg-llvm-common.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh
index 521d2c12..1346c9dd 100755
--- a/tcwg-llvm-common.sh
+++ b/tcwg-llvm-common.sh
@@ -139,15 +139,15 @@ LLVM_PROJECTS="llvm: clang:tools/clang lld:tools/lld
# List all projects with a branch
list_branch_projects() {
local BRANCH="$1"
- local PROJECTS=()
+ local BRANCHED_PROJECTS=()
local REP="https://git-us.linaro.org/toolchain/llvm"
for proj_ref in $LLVM_PROJECTS; do
proj="$(echo "$proj_ref" | cut -d ":" -f 1)"
if has_remote_branch "$REP/$proj.git" "$BRANCH"; then
- PROJECTS+=("$proj")
+ BRANCHED_PROJECTS+=("$proj")
fi
done
- echo "${PROJECTS[@]}"
+ echo "${BRANCHED_PROJECTS[@]}"
}
# Environment Variables and default values