In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 22:
> $log_file
^---------^ SC2188 (warning): This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 26:
echo $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$1"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 30:
cd /home/devel/sources
^--------------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd /home/devel/sources || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 34:
cd "$pkg"
^-------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd "$pkg" || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 40:
cd build
^------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd build || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 42:
cd ..
^---^ SC2103 (info): Use a ( subshell ) to avoid having to cd back.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 47:
cd build/container
^----------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd build/container || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 54:
cd ..
^---^ SC2103 (info): Use a ( subshell ) to avoid having to cd back.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/bin/compile_in_debug.sh line 56:
cd - &>/dev/null
^--------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^--------------^ SC2103 (info): Use a ( subshell ) to avoid having to cd back.
Did you mean:
cd - &>/dev/null || exit
For more information:
https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |...
https://www.shellcheck.net/wiki/SC2188 -- This redirection doesn't have a c...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...