scripts/strip-kmod.sh: replace legacy backticks with $()

This replaces deprecated backticks by more versatile $(...) syntax.

Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
[slightly adjusted commit title, added commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Rosen Penev 2019-12-30 18:18:03 -08:00 committed by Adrian Schmutzler
parent 12795ec9f1
commit eae889b8f2
1 changed files with 1 additions and 1 deletions

View File

@ -50,6 +50,6 @@ $3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ && !def[$3] {
} }
' > "$MODULE.tmp1" ' > "$MODULE.tmp1"
${CROSS}objcopy `cat ${MODULE}.tmp1` ${MODULE}.tmp ${MODULE}.out ${CROSS}objcopy $(cat ${MODULE}.tmp1) ${MODULE}.tmp ${MODULE}.out
mv "${MODULE}.out" "${MODULE}" mv "${MODULE}.out" "${MODULE}"
rm -f "${MODULE}".t* rm -f "${MODULE}".t*