Uppercase the branch variable for consistency; unsure why it was lower.

This commit is contained in:
2026-05-06 17:31:17 -07:00
parent 3d0347e41a
commit 604639033b

View File

@@ -127,7 +127,7 @@ PROJECT_TERMUX="$HOME/.git-env-termux"
function test-termux {
if [[ -d "$PROJECT_TERMUX" ]]; then
log "`date` - Updating '$PROJECT_TERMUX'.\n"
git -C "$PROJECT_TERMUX" switch "$branch"
git -C "$PROJECT_TERMUX" switch "$BRANCH"
git -C "$PROJECT_TERMUX" pull --recurse-submodules || \
( echo "Failed to pull project, exiting." && return 1 )
else