In /usr/bin/bladeRF-install-firmware line 40:
FX3IMGFILE='/usr/share/Nuand/bladeRF/bladeRF_fw.img'
^--------^ SC2034: FX3IMGFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 45:
FPGA115RBFFILE='/usr/share/Nuand/bladeRF/hostedx115.rbf'
^------------^ SC2034: FPGA115RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 50:
FPGA40RBFFILE='/usr/share/Nuand/bladeRF/hostedx40.rbf'
^-----------^ SC2034: FPGA40RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 55:
FPGAA4RBFFILE='/usr/share/Nuand/bladeRF/hostedxA4.rbf'
^-----------^ SC2034: FPGAA4RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 59:
FPGASHA256SUM='99f60e91598ea5b998873922eba16cbab60bfd5812ebc1438f49b420ba79d7e1'
^-----------^ SC2034: FPGASHA256SUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 60:
FPGAA9RBFFILE='/usr/share/Nuand/bladeRF/hostedxA9.rbf'
^-----------^ SC2034: FPGAA9RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 63:
ADSBA4CHECKSUM='7317e69e9bea3595a7babeadeb3633b0'
^------------^ SC2034: ADSBA4CHECKSUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 64:
ADSBA4SHA256SUM='8e1dcde86203f89dcf8bec77e3740ea31917ec335f6b12e3f9194cedbb833e19'
^-------------^ SC2034: ADSBA4SHA256SUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 65:
ADSBA4RBFFILE='/usr/share/Nuand/bladeRF/adsbxA4.rbf'
^-----------^ SC2034: ADSBA4RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 68:
ADSBA9CHECKSUM='9e70f6069680d7a2434ec9fb88ce2a36'
^------------^ SC2034: ADSBA9CHECKSUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 69:
ADSBA9SHA256SUM='343241eba0942538d74a5290e47a4cdded8dbe810d19e6328dcf496efac676f1'
^-------------^ SC2034: ADSBA9SHA256SUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 70:
ADSBA9RBFFILE='/usr/share/Nuand/bladeRF/adsbxA9.rbf'
^-----------^ SC2034: ADSBA9RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 73:
ADSB40CHECKSUM='15b7e988fcee2881f92df296bfcee9bf'
^------------^ SC2034: ADSB40CHECKSUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 74:
ADSB40SHA256SUM='a491fe4adc310b9ac71cab5017d2b99897b3d314b51130ed9b3c4c965d3ad4c4'
^-------------^ SC2034: ADSB40SHA256SUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 75:
ADSB40RBFFILE='/usr/share/Nuand/bladeRF/adsbx40.rbf'
^-----------^ SC2034: ADSB40RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 78:
ADSB115CHECKSUM='30583f92aa4a3ec5660714eccae30082'
^-------------^ SC2034: ADSB115CHECKSUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 79:
ADSB115SHA256SUM='c908baca2848efebc4c1aacec239179b548182406f398e608ad99dbbf0b72836'
^--------------^ SC2034: ADSB115SHA256SUM appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 80:
ADSB115RBFFILE='/usr/share/Nuand/bladeRF/adsbx115.rbf'
^------------^ SC2034: ADSB115RBFFILE appears unused. Verify use (or export if used externally).


In /usr/bin/bladeRF-install-firmware line 110:
if mkdir -p $imagedir ; then
            ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if mkdir -p "$imagedir" ; then


In /usr/bin/bladeRF-install-firmware line 111:
    if [ -w $imagedir ] ;then
            ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if [ -w "$imagedir" ] ;then


In /usr/bin/bladeRF-install-firmware line 112:
	echo Using imagedir: $imagedir
                             ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Using imagedir: "$imagedir"


In /usr/bin/bladeRF-install-firmware line 114:
	echo You need to run this script as a user who can write to $imagedir
                                                                    ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	echo You need to run this script as a user who can write to "$imagedir"


In /usr/bin/bladeRF-install-firmware line 118:
    echo You need to run this script as a user who can create $imagedir
                                                              ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    echo You need to run this script as a user who can create "$imagedir"


In /usr/bin/bladeRF-install-firmware line 122:
tdir=`mktemp -d`
     ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
tdir=$(mktemp -d)


In /usr/bin/bladeRF-install-firmware line 124:
echo "Using tempdir:" $tdir
                      ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
echo "Using tempdir:" "$tdir"


In /usr/bin/bladeRF-install-firmware line 138:
echo "Using: " $item
               ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
echo "Using: " "$item"


In /usr/bin/bladeRF-install-firmware line 141:
    if echo $item | grep -q :// ; then
            ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if echo "$item" | grep -q :// ; then


In /usr/bin/bladeRF-install-firmware line 142:
	echo Fetching $item ;
                      ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Fetching "$item" ;


In /usr/bin/bladeRF-install-firmware line 144:
	    /usr/bin/wget --user-agent="Debian BladeRF image installer" -O $tdir/`basename $item` $item
                                                                           ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                 ^--------------^ SC2046: Quote this to prevent word splitting.
                                                                                 ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                                                                           ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	    /usr/bin/wget --user-agent="Debian BladeRF image installer" -O "$tdir"/$(basename "$item") "$item"


In /usr/bin/bladeRF-install-firmware line 146:
	    curl --user-agent "Debian BladeRF image installer" -o $tdir/`basename $item` $item
                                                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                        ^--------------^ SC2046: Quote this to prevent word splitting.
                                                                        ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                                                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                         ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	    curl --user-agent "Debian BladeRF image installer" -o "$tdir"/$(basename "$item") "$item"


In /usr/bin/bladeRF-install-firmware line 149:
	if [ -f $item ] ; then
                ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -f "$item" ] ; then


In /usr/bin/bladeRF-install-firmware line 150:
	    echo Copying $item
                         ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	    echo Copying "$item"


In /usr/bin/bladeRF-install-firmware line 151:
	    cp -p $item $tdir/
                  ^---^ SC2086: Double quote to prevent globbing and word splitting.
                        ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	    cp -p "$item" "$tdir"/


In /usr/bin/bladeRF-install-firmware line 153:
	    echo "Cannot find" $item;
                               ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	    echo "Cannot find" "$item";


In /usr/bin/bladeRF-install-firmware line 158:
    if [ `basename $item` = "bladeRF_fw_v2.3.2.img" ] ; then
         ^--------------^ SC2046: Quote this to prevent word splitting.
         ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if [ $(basename "$item") = "bladeRF_fw_v2.3.2.img" ] ; then


In /usr/bin/bladeRF-install-firmware line 160:
$FX3CHECKSUM  $tdir/`basename $item`
                    ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                              ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FX3CHECKSUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 163:
$FX3SHA256SUM  $tdir/`basename $item`
                     ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                               ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FX3SHA256SUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 165:
	cp -p $tdir/`basename $item` $imagedir/bladeRF_fw.img ;
              ^---^ SC2086: Double quote to prevent globbing and word splitting.
                    ^--------------^ SC2046: Quote this to prevent word splitting.
                    ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                              ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                     ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	cp -p "$tdir"/$(basename "$item") "$imagedir"/bladeRF_fw.img ;


In /usr/bin/bladeRF-install-firmware line 167:
    if [ `basename $item` = "hostedx40.rbf" ] ; then
         ^--------------^ SC2046: Quote this to prevent word splitting.
         ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if [ $(basename "$item") = "hostedx40.rbf" ] ; then


In /usr/bin/bladeRF-install-firmware line 169:
$FPGA40CHECKSUM  $tdir/`basename $item`
                       ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGA40CHECKSUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 172:
$FPGA40SHA256SUM  $tdir/`basename $item`
                        ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGA40SHA256SUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 175:
    if [ `basename $item` = "hostedx115.rbf" ] ; then
         ^--------------^ SC2046: Quote this to prevent word splitting.
         ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if [ $(basename "$item") = "hostedx115.rbf" ] ; then


In /usr/bin/bladeRF-install-firmware line 177:
$FPGA115CHECKSUM  $tdir/`basename $item`
                        ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGA115CHECKSUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 180:
$FPGA115SHA256SUM  $tdir/`basename $item`
                         ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGA115SHA256SUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 183:
    if [ `basename $item` = "hostedxa4.rbf" ] ; then
         ^--------------^ SC2046: Quote this to prevent word splitting.
         ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if [ $(basename "$item") = "hostedxa4.rbf" ] ; then


In /usr/bin/bladeRF-install-firmware line 185:
$FPGAA4CHECKSUM  $tdir/`basename $item`
                       ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGAA4CHECKSUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 188:
$FPGAA4SHA256SUM  $tdir/`basename $item`
                        ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGAA4SHA256SUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 191:
    if [ `basename $item` = "hostedxa9.rbf" ] ; then
         ^--------------^ SC2046: Quote this to prevent word splitting.
         ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                   ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if [ $(basename "$item") = "hostedxa9.rbf" ] ; then


In /usr/bin/bladeRF-install-firmware line 193:
$FPGAA9CHECKSUM  $tdir/`basename $item`
                       ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGAA9CHECKSUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 196:
$FPGAA9SHA256SUM  $tdir/`basename $item`
^--------------^ SC2153: Possible misspelling: FPGAA9SHA256SUM may not be assigned, but FPGAA4SHA256SUM is.
                        ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
$FPGAA9SHA256SUM  $tdir/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 199:
    cp -p $tdir/`basename $item` $imagedir/`basename $item`
          ^---^ SC2086: Double quote to prevent globbing and word splitting.
                ^--------------^ SC2046: Quote this to prevent word splitting.
                ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                          ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                 ^-------^ SC2086: Double quote to prevent globbing and word splitting.
                                           ^--------------^ SC2046: Quote this to prevent word splitting.
                                           ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                                                     ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    cp -p "$tdir"/$(basename "$item") "$imagedir"/$(basename "$item")


In /usr/bin/bladeRF-install-firmware line 202:
for file in `ls $imagedir`; do md5sum $imagedir/$file ; done
            ^------------^ SC2045: Iterating over ls output is fragile. Use globs.
            ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                ^-------^ SC2086: Double quote to prevent globbing and word splitting.
                                      ^-------^ SC2086: Double quote to prevent globbing and word splitting.
                                                ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
for file in $(ls "$imagedir"); do md5sum "$imagedir"/"$file" ; done


In /usr/bin/bladeRF-install-firmware line 203:
rm -i -rf $tdir
          ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
rm -i -rf "$tdir"

For more information:
  https://www.shellcheck.net/wiki/SC2045 -- Iterating over ls output is fragi...
  https://www.shellcheck.net/wiki/SC2034 -- ADSB115CHECKSUM appears unused. V...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...