Found with shellcheck. Signed-off-by: Rosen Penev <ros...@gmail.com> --- target/toolchain/files/wrapper.sh | 6 +++--- 1 file 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='' -- 2.24.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel