generated from me/template-mit
Hopefully fix the reason that the shared rc has not always been updating correctly.
This commit is contained in:
@@ -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 || \
|
||||
|
||||
Reference in New Issue
Block a user