diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:16:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:16:50 +0100 |
commit | a232f9c575c427e82a9f4ea191142cbfcbdefd9e (patch) | |
tree | a91dd754facb7f815ffc23373937d1ec96860e37 | |
parent | b4f1804e48148176ca7ad20bd2d39b86b7538844 (diff) |
download: check for non-existent script in loop
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | download | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -48,6 +48,9 @@ main() exit 0 elif [ "${program}" = "all" ]; then for downloadProgram in ${download}/*; do + if [ ! -f "${downloadProgram}" ]; then + continue + fi "${downloadProgram}" done exit 0 |