Skip to content

Commit

Permalink
Update variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 committed Jan 2, 2024
1 parent accbe10 commit a7bfe8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/antibody
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ EOS
return 1
fi

local bundledir url
for bundledir in $antibody_home/*(/N); do
url=$(git -C "$bundledir" config remote.origin.url)
local bundle_path url
for bundle_path in $antibody_home/*(/N); do
url=$(git -C "$bundle_path" config remote.origin.url)
echos "antibody: updating: $url"
() {
local oldsha=$(git -C "$1" rev-parse --short HEAD)
Expand All @@ -130,7 +130,7 @@ EOS
if [[ $oldsha != $newsha ]]; then
echos "antibody: updated: $2 $oldsha -> $newsha"
fi
} "$bundledir" "$url" &
} "$bundle_path" "$url" &
done
wait
}
Expand Down

0 comments on commit a7bfe8d

Please sign in to comment.