In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/share/opkg/intercept/depmod line 4:
if [ "x$1" = "x-a" ] || [ "x$1" = "x-A" ]; then
^---^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.
^---^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.
Did you mean:
if [ "$1" = "-a" ] || [ "$1" = "-A" ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/share/opkg/intercept/depmod line 5:
echo "depmod $@" >> $OPKG_INTERCEPT_DIR/depmod
^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "depmod $@" >> "$OPKG_INTERCEPT_DIR"/depmod
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/share/opkg/intercept/depmod line 6:
sort -u $OPKG_INTERCEPT_DIR/depmod > $OPKG_INTERCEPT_DIR/depmod.tmp
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sort -u "$OPKG_INTERCEPT_DIR"/depmod > "$OPKG_INTERCEPT_DIR"/depmod.tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/share/opkg/intercept/depmod line 7:
mv $OPKG_INTERCEPT_DIR/depmod.tmp $OPKG_INTERCEPT_DIR/depmod
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mv "$OPKG_INTERCEPT_DIR"/depmod.tmp "$OPKG_INTERCEPT_DIR"/depmod
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/share/opkg/intercept/depmod line 8:
chmod +x $OPKG_INTERCEPT_DIR/depmod
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod +x "$OPKG_INTERCEPT_DIR"/depmod
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/share/opkg/intercept/depmod line 12:
/sbin/depmod $*
^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
/sbin/depmod "$*"
For more information:
https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...