diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-25 00:41:32 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-09-29 00:46:13 +0200 |
commit | 81c52edf2bab9c51413a26289fbe97c8ef8aa44c (patch) | |
tree | db53f4f1bc9b2dfd1dcd17b8a6934272fc261f44 /target/linux/mvebu/base-files/lib | |
parent | 9de9e9c6c504182f110c89ea472ea1eea1e69488 (diff) | |
download | upstream-81c52edf2bab9c51413a26289fbe97c8ef8aa44c.tar.gz upstream-81c52edf2bab9c51413a26289fbe97c8ef8aa44c.tar.bz2 upstream-81c52edf2bab9c51413a26289fbe97c8ef8aa44c.zip |
mvebu: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[decapitalized patch subject at submitter's request]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/mvebu/base-files/lib')
-rw-r--r-- | target/linux/mvebu/base-files/lib/upgrade/linksys.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh index ca64a0edf1..6ccfdd0768 100644 --- a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh @@ -6,7 +6,7 @@ linksys_get_target_firmware() { local cur_boot_part mtd_ubi0 - cur_boot_part=`/usr/sbin/fw_printenv -n boot_part` + cur_boot_part=$(/usr/sbin/fw_printenv -n boot_part) if [ -z "${cur_boot_part}" ] ; then mtd_ubi0=$(cat /sys/devices/virtual/ubi/ubi0/mtd_num) case $(egrep ^mtd${mtd_ubi0}: /proc/mtd | cut -d '"' -f 2) in |