Skip to content

Commit

Permalink
Fix as per review comments: rename some variables (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Nov 19, 2023
1 parent a5d331e commit 60d11e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kerl
Original file line number Diff line number Diff line change
Expand Up @@ -2126,16 +2126,16 @@ fix_otp_installations() {
fix_otp_builds() {
if [ -f "$KERL_BASE_DIR"/otp_builds ]; then
missing_rels=""
missing_keys=""
while read -r l; do
rel=$(echo "$l" | cut -d, -f1)
name=$(echo "$l" | cut -d, -f2)
if [ ! -e "${KERL_BUILD_DIR}/${name}" ]; then
missing_rels="${rel},${name} $missing_rels"
missing_keys="${rel},${name} $missing_keys"
fi
done <"$KERL_BASE_DIR"/otp_builds
for missing_rel in ${missing_rels}; do
list_remove builds "${missing_rel}"
for missing_key in ${missing_keys}; do
list_remove builds "${missing_key}"
done
fi
}
Expand Down

0 comments on commit 60d11e5

Please sign in to comment.