aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-12-29 19:41:16 -0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-31 01:00:04 +0100
commit19be55aa37f593066039d27c41735200d477f62b (patch)
tree1307454abcec592307e1ecc0badf83bed1e13dc9 /target
parent9edf808e350b0cd7fb153ae4a27589ef013d01cf (diff)
downloadupstream-19be55aa37f593066039d27c41735200d477f62b.tar.gz
upstream-19be55aa37f593066039d27c41735200d477f62b.tar.bz2
upstream-19be55aa37f593066039d27c41735200d477f62b.zip
toolchain/wrapper: replace legacy backticks with $()
This replaces deprecated backticks by more versatile $(...) syntax. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com> [alter commit title, extend commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/toolchain/files/wrapper.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/toolchain/files/wrapper.sh b/target/toolchain/files/wrapper.sh
index 4452128382..bd4996cac2 100755
--- a/target/toolchain/files/wrapper.sh
+++ b/target/toolchain/files/wrapper.sh
@@ -15,10 +15,10 @@
#
PROGNAME=$0
-REALNAME=`readlink -f $0`
+REALNAME=$(readlink -f $0)
-REALNAME_BASE=`basename $REALNAME`
-REALNAME_DIR=`dirname $REALNAME`
+REALNAME_BASE=$(basename $REALNAME)
+REALNAME_DIR=$(dirname $REALNAME)
TARGET_FUNDAMENTAL_ASFLAGS=''
TARGET_FUNDAMENTAL_CFLAGS=''