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 19, 2022
1 parent 3d8811b commit e445428
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions completions/make
Expand Up @@ -197,11 +197,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 e445428

Please sign in to comment.