From c3fcc5a10d1ee50a7b5c3855e028fd1dd88549cc Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 22:34:07 -0600 Subject: [PATCH] hmm --- functions/update_apps.sh | 1 - heavy_script.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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