cleanup
This commit is contained in:
parent
ee614d2c2a
commit
51a24c653f
@ -32,8 +32,6 @@ function _formatted_find() {
|
|||||||
|
|
||||||
function _set_weights() {
|
function _set_weights() {
|
||||||
for package in "${!_etools_packages[@]}"; do
|
for package in "${!_etools_packages[@]}"; do
|
||||||
# $function "$key"
|
|
||||||
# TODO: figure out why this is not in scope
|
|
||||||
for regex in ${!package_weights[@]}; do
|
for regex in ${!package_weights[@]}; do
|
||||||
if [[ ${package//\"/} =~ ^*${regex}*$ ]]; then
|
if [[ ${package//\"/} =~ ^*${regex}*$ ]]; then
|
||||||
_etools_packages[${package//\"/}]=${package_weights[$regex]}
|
_etools_packages[${package//\"/}]=${package_weights[$regex]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user