diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2023-09-25 13:02:54 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2023-09-25 13:02:54 +0200 |
commit | 886c75718617c8a478395484187d06a6801fc334 (patch) | |
tree | 247ecdef895306475c8c66ea6c744cfd78304a6c /SOURCES/process_configs.sh | |
parent | 117fa637e6752d4c35c244e3e67828717e0b8a66 (diff) | |
download | kernel-fsync-886c75718617c8a478395484187d06a6801fc334.tar.gz kernel-fsync-886c75718617c8a478395484187d06a6801fc334.zip |
kernel 6.5.4
Diffstat (limited to 'SOURCES/process_configs.sh')
-rwxr-xr-x | SOURCES/process_configs.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SOURCES/process_configs.sh b/SOURCES/process_configs.sh index 12edf0a..9cd5778 100755 --- a/SOURCES/process_configs.sh +++ b/SOURCES/process_configs.sh @@ -311,12 +311,14 @@ function process_configs() process_config "$cfg" "$count" fi process_config "$cfg" "$count" & + # shellcheck disable=SC2004 waitpids[${count}]=$! ((count++)) while [ "$(jobs | grep -c Running)" -ge "$RHJOBS" ]; do :; done done + # shellcheck disable=SC2048 for pid in ${waitpids[*]}; do - wait ${pid} + wait "${pid}" done rm "$SCRIPT_DIR"/*.config*.old |