diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-10 16:47:47 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-13 19:01:23 +0200 |
commit | 420245954109534354862cfb0658d765499ce2b2 (patch) | |
tree | bfe7e1d26fdcd10a5604a4e5db7c6be29789b28e /package | |
parent | d2d63cc6e056614f79d9c127306fbfc258e938df (diff) | |
download | upstream-420245954109534354862cfb0658d765499ce2b2.tar.gz upstream-420245954109534354862cfb0658d765499ce2b2.tar.bz2 upstream-420245954109534354862cfb0658d765499ce2b2.zip |
ltq-vdsl-fw: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package')
-rwxr-xr-x | package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh index e372e95c57..3d3e5aebee 100755 --- a/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh @@ -25,7 +25,7 @@ MD5_DSL="655442e31deaa42c9c68944869361ec0" [ $? -eq 0 -a -f "${FW}" ] || exit 1 } -F=`md5sum -b ${FW} | cut -d" " -f1` +F=$(md5sum -b ${FW} | cut -d" " -f1) [ "$F" = "${MD5_FW}" ] || { echo "Failed to verify Firmware MD5" exit 1 @@ -37,8 +37,8 @@ echo "Unpack and decompress w921v Firmware" w921v_fw_cutter [ $? -eq 0 ] || exit 1 -T=`md5sum -b ${FW_TAPI} | cut -d" " -f1` -D=`md5sum -b ${FW_DSL} | cut -d" " -f1` +T=$(md5sum -b ${FW_TAPI} | cut -d" " -f1) +D=$(md5sum -b ${FW_DSL} | cut -d" " -f1) [ "$T" = "${MD5_TAPI}" -a "$D" = "${MD5_DSL}" ] || { echo "Failed to verify MD5" |