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>
This commit is contained in:
Rosen Penev 2019-12-29 19:41:16 -08:00 committed by Adrian Schmutzler
parent 9edf808e35
commit 19be55aa37

View File

@ -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=''