From e371b8c6853fb130dc5cd21f5285ef6a107a6ef6 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Fri, 15 Nov 2019 19:31:00 +0000 Subject: [PATCH] Renamed variable to be more descriptive. --- fetch-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch-all.sh b/fetch-all.sh index 10ccde6..d8bfdaf 100755 --- a/fetch-all.sh +++ b/fetch-all.sh @@ -3,7 +3,7 @@ # fetch-all.sh ~/project [~/second-project] function process_git_fetch () { - BOB=`pwd` + STARTED_IN=`pwd` for location in "$@"; do if [ -d "$location/.git" ]; then echo -n "----- git fetch $location " @@ -13,7 +13,7 @@ function process_git_fetch () { git fetch --prune fi done - cd "$BOB" + cd "$STARTED_IN" } process_git_fetch "$@"