diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-12-30 18:18:03 -0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-31 11:38:06 +0100 |
commit | eae889b8f2c9c732ed86d77b189f4c19c182de77 (patch) | |
tree | 2012b741cb746927a7f87574f22b4569fc4734dd | |
parent | 12795ec9f16ba79cdde052f2e20f4a1bddc6235d (diff) | |
download | upstream-eae889b8f2c9c732ed86d77b189f4c19c182de77.tar.gz upstream-eae889b8f2c9c732ed86d77b189f4c19c182de77.tar.bz2 upstream-eae889b8f2c9c732ed86d77b189f4c19c182de77.zip |
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>
-rwxr-xr-x | scripts/strip-kmod.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/strip-kmod.sh b/scripts/strip-kmod.sh index 313015b909..7886cd907f 100755 --- a/scripts/strip-kmod.sh +++ b/scripts/strip-kmod.sh @@ -50,6 +50,6 @@ $3 && $2 ~ /[brtd]/ && $3 !~ /\$LC/ && !def[$3] { } ' > "$MODULE.tmp1" -${CROSS}objcopy `cat ${MODULE}.tmp1` ${MODULE}.tmp ${MODULE}.out +${CROSS}objcopy $(cat ${MODULE}.tmp1) ${MODULE}.tmp ${MODULE}.out mv "${MODULE}.out" "${MODULE}" rm -f "${MODULE}".t* |