In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 25:
exec_prefix=${prefix}
^---------^ SC2034 (warning): exec_prefix appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 26:
includedir=${prefix}/include
^--------^ SC2034 (warning): includedir appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 52:
exit $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exit "$1"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 64:
-*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
-*=*) value=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//') ;
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 65:
*) value= ;
^---^ SC2034 (warning): value appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 104:
cmajor=`echo $checkfor | cut -d. -f1`
^----------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cmajor=$(echo "$checkfor" | cut -d. -f1)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 105:
cminor=`echo $checkfor | cut -d. -f2`
^----------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cminor=$(echo "$checkfor" | cut -d. -f2)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 108:
cpatch=`echo $checkfor | cut -d. -f3 | cut -d- -f1`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cpatch=$(echo "$checkfor" | cut -d. -f3 | cut -d- -f1)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 109:
checknum=`echo "$cmajor*256*256 + $cminor*256 + ${cpatch:-0}" | bc`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
checknum=$(echo "$cmajor*256*256 + $cminor*256 + ${cpatch:-0}" | bc)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 110:
numuppercase=`echo 072b00 | tr 'a-f' 'A-F'`
^----------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
numuppercase=$(echo 072b00 | tr 'a-f' 'A-F')
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 111:
nownum=`echo "obase=10; ibase=16; $numuppercase" | bc`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
nownum=$(echo "obase=10; ibase=16; $numuppercase" | bc)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 151:
echo ${CURLLIBDIR}-lcurl -lssl -lcrypto -lz
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${CURLLIBDIR}"-lcurl -lssl -lcrypto -lz
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/curl-config line 153:
echo ${CURLLIBDIR}-lcurl
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "${CURLLIBDIR}"-lcurl
For more information:
https://www.shellcheck.net/wiki/SC2034 -- exec_prefix appears unused. Verif...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...