Skip to content

update build_linux_python_package.sh #23752

update build_linux_python_package.sh

update build_linux_python_package.sh #23752

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / shellcheck completed Nov 8, 2023 in 1s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (30)

tools/ci_build/github/linux/build_linux_python_package.sh|62 col 1| The mentioned syntax error was in this if expression.
tools/ci_build/github/linux/build_linux_python_package.sh|62 col 36| Couldn't parse this test expression. Fix to allow more checks.
tools/ci_build/github/linux/build_linux_python_package.sh|62 col 60| You need a space before the ].
tools/ci_build/github/linux/build_linux_python_package.sh|62 col 60| Missing space before ]. Fix any mentioned problems and try again.
tools/ci_build/github/linux/run_python_dockerbuild.sh|6 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/run_python_dockerbuild.sh|16 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|19 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|20 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|22 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|26 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|27 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|27 col 86| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|27 col 97| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|27 col 114| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|27 col 133| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|29 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|29 col 38| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|29 col 64| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|29 col 89| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|30 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|30 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|30 col 51| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|30 col 76| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|31 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|31 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|32 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|32 col 29| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|33 col 1| Some finds don't have a default path. Specify '.' explicitly.
tools/ci_build/github/linux/run_python_dockerbuild.sh|33 col 28| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockerbuild.sh|33 col 53| Double quote to prevent globbing and word splitting.

Filtered Findings (905)

tools/scripts/python_test.sh|13 col 4| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|13 col 83| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|15 col 27| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|16 col 10| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|17 col 4| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|17 col 122| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|18 col 27| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|21 col 14| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 8| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 19| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 39| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 50| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|23 col 24| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|23 col 35| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|25 col 10| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|26 col 7| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|26 col 18| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|27 col 9| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|27 col 54| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|27 col 98| Double quote to prevent globbing and word splitting.
tools/scripts/symbolic_shape_infer_test.sh|11 col 7| Double quote to prevent globbing and word splitting.
tools/ci_build/github/apple/build_host_protoc.sh|36 col 9| Quote this to prevent word splitting.
tools/ci_build/github/android/run_nnapi_code_coverage.sh|14 col 9| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/run_nnapi_code_coverage.sh|17 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/run_nnapi_code_coverage.sh|18 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/run_nnapi_code_coverage.sh|26 col 26| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/run_nnapi_code_coverage.sh|33 col 9| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/run_nnapi_code_coverage.sh|35 col 22| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|18 col 18| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|26 col 18| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|34 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|34 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|34 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|35 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|35 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|35 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|36 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|36 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|36 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|37 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|37 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|37 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|41 col 44| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|42 col 47| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|42 col 63| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/build_aar_and_copy_artifacts.sh|42 col 94| Use ./glob or -- glob so names with dashes won't become options.
tools/ci_build/github/android/adb-push.sh|10 col 5| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/android/adb-push.sh|10 col 15| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|11 col 14| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/android/adb-push.sh|11 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|12 col 1| Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
tools/ci_build/github/android/adb-push.sh|12 col 7| Quote this to prevent word splitting.
tools/ci_build/github/android/adb-push.sh|12 col 7| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/android/adb-push.sh|12 col 16| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|14 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|14 col 64| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|16 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|16 col 46| Double quote to prevent globbing and word splitting.
tools/ci_build/github/android/adb-push.sh|17 col 1| Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|5 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|11 col 1| EXIT_CODE appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|15 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|17 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|18 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|19 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|22 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|23 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|24 col 9| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|24 col 10| Use find instead of ls to better handle non-alphanumeric filenames.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|24 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|25 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|25 col 46| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|25 col 112| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/extract_and_bundle_gpu_package.sh|26 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|6 col 4| getopts specified -x, but it's not handled by this 'case'.
tools/ci_build/github/linux/run_python_dockertest.sh|6 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/run_python_dockertest.sh|14 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|18 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|21 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|22 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|24 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|28 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|29 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|29 col 70| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_dockertest.sh|29 col 81| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|3 col 8| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/create_package.sh|3 col 18| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|4 col 12| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/create_package.sh|4 col 21| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|5 col 13| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/create_package.sh|5 col 23| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|6 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|18 col 16| This is a literal string. To run as a command, use $(..) instead of '..' .
tools/ci_build/github/linux/create_package.sh|20 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|22 col 98| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|22 col 141| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|22 col 184| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/create_package.sh|22 col 215| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|12 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|13 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|20 col 9| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|21 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|28 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|29 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|36 col 29| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|40 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/nnapi_minimal_build_minimal_ort_and_run_tests.sh|41 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|71 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|78 col 29| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|83 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|89 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|92 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh|22 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh|34 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh|69 col 25| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/yocto_build_toolchain.sh|7 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/yocto_build_toolchain.sh|19 col 81| Not following: ./fsl-setup-release.sh: openBinaryFile: does not exist (No such file or directory)
tools/ci_build/github/linux/yocto_build_toolchain.sh|20 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/yocto_build_toolchain.sh|24 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/yocto_build_toolchain.sh|48 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|5 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|9 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/build_yocto.sh|20 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|25 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|28 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|29 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|30 col 67| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|31 col 15| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|34 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|35 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|36 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|37 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|38 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|43 col 45| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|43 col 106| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_yocto.sh|43 col 232| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|16 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|22 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|22 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|29 col 18| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|29 col 28| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|29 col 38| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|29 col 49| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|31 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_ninja.sh|31 col 62| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|18 col 29| sudo doesn't affect redirects. Use .. | sudo tee -a file
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|26 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|27 col 21| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|28 col 14| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|33 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|34 col 20| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|37 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|39 col 171| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|39 col 174| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|40 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|40 col 27| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|44 col 5| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|51 col 15| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|53 col 12| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/training/azure_scale_set_vm_mount_test_data.sh|53 col 25| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|7 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|64 col 14| See if you can use ${variable//search/replace} instead.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|64 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|65 col 83| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|70 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|72 col 6| Use ./glob or -- glob so names with dashes won't become options.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|75 col 242| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|80 col 10| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|87 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|89 col 18| See if you can use ${variable//search/replace} instead.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|95 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|100 col 278| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_protobuf.sh|105 col 10| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|11 col 8| Not following: ./build_utils.sh: openBinaryFile: does not exist (No such file or directory)
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|11 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|14 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|15 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|16 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|17 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|17 col 38| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|18 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|18 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|19 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|20 col 16| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|23 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install-protobuf.sh|23 col 25| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/setup_rocm_yum_repo.sh|8 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|13 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|20 col 4| INSTALL_DEPS_DISTRIBUTED_SETUP appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|55 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|56 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|59 col 39| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|62 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|63 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_python_deps.sh|65 col 41| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/install_openmpi.sh|13 col 9| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|14 col 1| os_major_version appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|18 col 1| GLIBC_VERSION appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|25 col 3| LIBDIR appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|29 col 8| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|29 col 8| Not following: ./install_shared_deps.sh: openBinaryFile: does not exist (No such file or directory)
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|34 col 10| ShellCheck can't follow non-constant source. Use a directive to specify location.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|34 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|42 col 35| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|43 col 35| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_deps_eager.sh|51 col 8| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/scripts/manylinux/install_shared_deps.sh|18 col 14| Double quote to prevent globbing and word splitting.
... (Too many findings. Dropped some findings)

Annotations

Check notice on line 62 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L62 <ShellCheck.SC1009>

The mentioned syntax error was in this if expression.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:62:1: info: The mentioned syntax error was in this if expression. (ShellCheck.SC1009)

Check failure on line 62 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L62 <ShellCheck.SC1073>

Couldn't parse this test expression. Fix to allow more checks.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:62:36: error: Couldn't parse this test expression. Fix to allow more checks. (ShellCheck.SC1073)

Check failure on line 62 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L62 <ShellCheck.SC1020>

You need a space before the ].
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:62:60: error: You need a space before the ]. (ShellCheck.SC1020)

Check failure on line 62 in tools/ci_build/github/linux/build_linux_python_package.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L62 <ShellCheck.SC1072>

Missing space before ]. Fix any mentioned problems and try again.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:62:60: error: Missing space before ]. Fix any mentioned problems and try again. (ShellCheck.SC1072)

Check warning on line 6 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L6 <ShellCheck.SC2220>

Invalid flags are not handled. Add a *) case.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:6:4: warning: Invalid flags are not handled. Add a *) case. (ShellCheck.SC2220)

Check notice on line 16 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L16 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:16:10: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 19 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L19 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:19:14: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 20 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L20 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:20:14: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 22 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L22 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:22:14: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 26 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L26 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:26:5: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:27:5: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:27:86: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:27:97: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:27:114: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:27:133: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 29 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L29 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:29:13: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 29 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L29 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:29:38: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 29 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L29 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:29:64: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 29 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L29 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:29:89: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 30 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L30 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:30:5: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 30 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L30 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:30:30: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 30 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L30 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:30:51: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 30 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L30 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:30:76: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 31 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L31 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:31:5: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 31 in tools/ci_build/github/linux/run_python_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_python_dockerbuild.sh#L31 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/run_python_dockerbuild.sh:31:30: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)