Skip to content

[WebNN EP] Remove Conv initializer constraint for GPU (#18129) #19227

[WebNN EP] Remove Conv initializer constraint for GPU (#18129)

[WebNN EP] Remove Conv initializer constraint for GPU (#18129) #19227

GitHub Actions / shellcheck completed Oct 27, 2023 in 8s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (405)

dockerfiles/scripts/install_cmake.sh|7 col 10| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/install_cmake.sh|9 col 100| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/install_common_deps.sh|2 col 1| DEBIAN_FRONTEND appears unused. Verify use (or export if used externally).
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|15 col 4| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|19 col 6| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|23 col 31| Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|29 col 18| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|29 col 142| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|30 col 8| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|35 col 8| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|37 col 45| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|38 col 10| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|42 col 49| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|43 col 11| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|45 col 45| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|47 col 17| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|49 col 8| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|55 col 4| OldDir is referenced but not assigned.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|55 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|23 col 70| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|26 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/run_dockerbuild.sh|54 col 1| EXIT_CODE appears unused. Verify use (or export if used externally).
tools/ci_build/github/linux/run_dockerbuild.sh|68 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|69 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|74 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|80 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|122 col 9| To assign a variable, use just 'var=value', no 'set ..'.
tools/ci_build/github/linux/run_dockerbuild.sh|125 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|125 col 35| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|125 col 69| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|137 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|141 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|141 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|143 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|146 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|146 col 46| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_dockerbuild.sh|146 col 59| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|5 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|6 col 123| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|6 col 173| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|7 col 49| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|9 col 111| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|9 col 153| Double quote to prevent globbing and word splitting.
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/copy_strip_binary.sh|5 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/copy_strip_binary.sh|19 col 7| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|19 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|20 col 7| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|20 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|21 col 7| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|21 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|23 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|23 col 16| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|23 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|23 col 40| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|23 col 52| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|25 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|25 col 20| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|25 col 69| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|25 col 81| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|26 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|26 col 20| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|26 col 67| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|26 col 79| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|29 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|29 col 20| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|29 col 71| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|29 col 83| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|32 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|32 col 20| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|32 col 69| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|32 col 81| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|33 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|33 col 20| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|33 col 67| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|33 col 79| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|38 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|38 col 26| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|38 col 45| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|38 col 58| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|38 col 70| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|38 col 89| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|39 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|39 col 26| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|39 col 45| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|40 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|40 col 21| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|40 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|42 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|42 col 89| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|42 col 101| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|45 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|45 col 21| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|45 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|47 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|47 col 70| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|47 col 82| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|48 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|48 col 72| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|48 col 84| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|49 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|49 col 75| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|49 col 87| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|50 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|50 col 72| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|50 col 84| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|51 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|51 col 79| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|51 col 91| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|52 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|52 col 92| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|52 col 104| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|53 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|53 col 88| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|53 col 100| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|54 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|54 col 71| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|54 col 83| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|55 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|55 col 91| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|55 col 103| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|56 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|56 col 93| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|56 col 105| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|57 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|57 col 96| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|57 col 108| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|60 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|60 col 26| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|60 col 38| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|61 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|61 col 32| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|61 col 44| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|62 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|62 col 24| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|62 col 36| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|63 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|63 col 38| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|63 col 50| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|64 col 4| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|64 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|64 col 43| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|67 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|67 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|67 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/copy_strip_binary.sh|69 col 11| This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
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/run_python_tests.sh|10 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/run_python_tests.sh|22 col 22| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_tests.sh|31 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_tests.sh|35 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_tests.sh|41 col 34| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_tests.sh|46 col 59| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_tests.sh|47 col 11| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_python_tests.sh|50 col 50| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|7 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|64 col 14| See if you can use ${variable//search/replace} instead.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|64 col 19| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|65 col 83| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|70 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/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/inference/x64/python/cpu/scripts/install_protobuf.sh|75 col 242| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|80 col 10| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|87 col 33| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|89 col 18| See if you can use ${variable//search/replace} instead.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|95 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|100 col 278| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/python/cpu/scripts/install_protobuf.sh|105 col 10| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_centos.sh|7 col 55| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|17 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|23 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|23 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|30 col 18| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|30 col 28| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|30 col 38| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|30 col 49| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|32 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|32 col 62| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|42 col 87| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|42 col 87| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|42 col 133| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|42 col 133| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|43 col 38| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|43 col 38| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|55 col 10| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|64 col 62| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|64 col 113| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/gpu/scripts/install_deps.sh|65 col 48| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_centos.sh|7 col 55| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|17 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|23 col 8| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|23 col 13| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|30 col 18| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|30 col 28| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|30 col 38| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|30 col 49| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|32 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|32 col 62| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|42 col 87| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|42 col 87| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|42 col 133| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|42 col 133| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|43 col 38| Quote this to prevent word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|43 col 38| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|55 col 10| Use $(...) notation instead of legacy backticks ....
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|64 col 62| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|64 col 113| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/x64/default/cpu/scripts/install_deps.sh|65 col 48| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/aarch64/default/cpu/scripts/install_deps.sh|30 col 29| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/aarch64/default/cpu/scripts/install_deps.sh|30 col 52| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/docker/inference/aarch64/default/cpu/scripts/install_deps.sh|32 col 30| Double quote to prevent globbing and word splitting.
... (Too many findings. Dropped some findings)

Filtered Findings (532)

Annotations

Check notice on line 7 in dockerfiles/scripts/install_cmake.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] dockerfiles/scripts/install_cmake.sh#L7 <ShellCheck.SC2006>

Use $(...) notation instead of legacy backticks `...`.
Raw output
./dockerfiles/scripts/install_cmake.sh:7:10: info: Use $(...) notation instead of legacy backticks `...`. (ShellCheck.SC2006)

Check notice on line 9 in dockerfiles/scripts/install_cmake.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] dockerfiles/scripts/install_cmake.sh#L9 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./dockerfiles/scripts/install_cmake.sh:9:100: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check warning on line 2 in dockerfiles/scripts/install_common_deps.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] dockerfiles/scripts/install_common_deps.sh#L2 <ShellCheck.SC2034>

DEBIAN_FRONTEND appears unused. Verify use (or export if used externally).
Raw output
./dockerfiles/scripts/install_common_deps.sh:2:1: warning: DEBIAN_FRONTEND appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check notice on line 15 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L15 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:15:4: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 19 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L19 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:19:6: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 23 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L23 <ShellCheck.SC2002>

Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:23:31: info: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. (ShellCheck.SC2002)

Check notice on line 29 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L29 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:29:18: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 29 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L29 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:29:142: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 30 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L30 <ShellCheck.SC2181>

Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:30:8: info: Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (ShellCheck.SC2181)

Check notice on line 35 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L35 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:35:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 37 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L37 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:37:45: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 38 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L38 <ShellCheck.SC2181>

Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:38:10: info: Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (ShellCheck.SC2181)

Check notice on line 42 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L42 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:42:49: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 43 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L43 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:43:11: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 45 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L45 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:45:45: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 47 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L47 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:47:17: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 49 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L49 <ShellCheck.SC2181>

Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:49:8: info: Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (ShellCheck.SC2181)

Check warning on line 55 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L55 <ShellCheck.SC2154>

OldDir is referenced but not assigned.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:55:4: warning: OldDir is referenced but not assigned. (ShellCheck.SC2154)

Check notice on line 55 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L55 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:55:4: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 23 in tools/ci_build/github/linux/run_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_dockerbuild.sh#L23 <ShellCheck.SC2086>

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

Check warning on line 26 in tools/ci_build/github/linux/run_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_dockerbuild.sh#L26 <ShellCheck.SC2220>

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

Check warning on line 54 in tools/ci_build/github/linux/run_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_dockerbuild.sh#L54 <ShellCheck.SC2034>

EXIT_CODE appears unused. Verify use (or export if used externally).
Raw output
./tools/ci_build/github/linux/run_dockerbuild.sh:54:1: warning: EXIT_CODE appears unused. Verify use (or export if used externally). (ShellCheck.SC2034)

Check notice on line 68 in tools/ci_build/github/linux/run_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_dockerbuild.sh#L68 <ShellCheck.SC2086>

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

Check notice on line 69 in tools/ci_build/github/linux/run_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_dockerbuild.sh#L69 <ShellCheck.SC2086>

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

Check notice on line 74 in tools/ci_build/github/linux/run_dockerbuild.sh

See this annotation in the file changed.

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/run_dockerbuild.sh#L74 <ShellCheck.SC2086>

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