Hopefully fix the reason that the shared rc has not always been updating correctly.

This commit is contained in:
2026-05-06 18:01:56 -07:00
parent 13c22faa9d
commit c7d2dafa11

View File

@@ -107,7 +107,7 @@ function update-shared-old {
PROJECT_SHARED="$HOME/.git-env-shared"
function update-shared2 {
# Refresh the local env-shared repo.
if [[ -d $shared ]]; then
if [[ -d $PROJECT_SHARED ]]; then
log "`date` - Updating '$PROJECT_SHARED'.\n"
git -C "$PROJECT_SHARED" switch "$branch"
git -C "$PROJECT_SHARED" pull --recurse-submodules || \