Uppercase the branch variable for consistency; unsure why it was lower.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user