diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-12-29 19:41:16 -0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-31 01:00:04 +0100 |
commit | 19be55aa37f593066039d27c41735200d477f62b (patch) | |
tree | 1307454abcec592307e1ecc0badf83bed1e13dc9 | |
parent | 9edf808e350b0cd7fb153ae4a27589ef013d01cf (diff) | |
download | upstream-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>
-rwxr-xr-x | target/toolchain/files/wrapper.sh | 6 |
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='' |