In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 31:
if [ ! -e $file ]; then
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ ! -e "$file" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 33:
elif [ ! -f $file ]; then
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ ! -f "$file" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 35:
elif [ -r $file ]; then
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ -r "$file" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 45:
[ $? = 0 ] || ret=$?
^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 46:
[ $ret = 0 ] || { result=$ret; break; }
^---^ SC2105 (error): break is only valid in loops.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 48:
[ $? = 0 ] || ret=$?
^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 49:
[ $ret = 0 ] || { result=$ret; break; }
^---^ SC2105 (error): break is only valid in loops.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ldd line 55:
[ -z "$trace_out" ] && [ $silent = 1 ] || echo "ldd: $trace_out" | tr '\t' ' ' >&
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
For more information:
https://www.shellcheck.net/wiki/SC2105 -- break is only valid in loops.
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...