diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 55b772fc..2dba0fab 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -9,7 +9,6 @@ mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_availabl echo "Asynchronous Updates: $update_limit" it=0 - while [[ $it -lt ${#array[@]} ]] do jobs=$(jobs -p | wc -l) diff --git a/heavy_script.sh b/heavy_script.sh index 7f319681..82087420 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -88,7 +88,7 @@ do # existing or starting with dash? if [[ -n $nextopt && $nextopt != -* ]] ; then OPTIND=$((OPTIND + 1)) - update_limit=("$OPTARG") + update_limit="$OPTARG" else update_limit=1 fi @@ -100,7 +100,7 @@ do # existing or starting with dash? if [[ -n $nextopt && $nextopt != -* ]] ; then OPTIND=$((OPTIND + 1)) - update_limit=$OPTARG + update_limit="$OPTARG" else update_limit=1 fi