From 19be55aa37f593066039d27c41735200d477f62b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 29 Dec 2019 19:41:16 -0800 Subject: toolchain/wrapper: replace legacy backticks with $() This replaces deprecated backticks by more versatile $(...) syntax. Found with shellcheck. Signed-off-by: Rosen Penev [alter commit title, extend commit message] Signed-off-by: Adrian Schmutzler --- target/toolchain/files/wrapper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/toolchain') 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='' -- cgit v1.2.3