Skip to content

Commit

Permalink
fix(make): work around new assoc subscript expansions in Bash 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Dec 22, 2022
1 parent f1d83fd commit a16a6b5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions completions/make
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,7 @@ _make()
paths[$path]=1 &&
[[ $path == "$prefix"*/* ]]; do
path=${path%/*}
if [[ ! ${nchild[$path]+set} ]]; then
((nchild[\$path] = 1))
else
((nchild[\$path]++))
fi
nchild[$path]=$((${nchild[$path]-0} + 1))
done
done

Expand Down

0 comments on commit a16a6b5

Please sign in to comment.