diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-06-04 23:27:43 -0700 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2018-06-05 08:27:43 +0200 |
commit | 5cb434fe13ca071d0eca38800519158013c96888 (patch) | |
tree | 091f0f6b04e28d335b38918ef1f4b672a4ab66e2 /navit/script | |
parent | fbb59e4739cd085706e0f045a0db53e3ec8bd695 (diff) | |
download | navit-5cb434fe13ca071d0eca38800519158013c96888.tar.gz |
cleanup:scripts:Use $(..) instead of legacy `..` to make codefactor happy (#623)
Diffstat (limited to 'navit/script')
-rwxr-xr-x | navit/script/cabify.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/navit/script/cabify.sh b/navit/script/cabify.sh index 33c94d04d..ea6dba4b4 100755 --- a/navit/script/cabify.sh +++ b/navit/script/cabify.sh @@ -44,14 +44,14 @@ echo -n > $CABLIST.$$ for i in $SRCDIR/locale/*/*/*.mo do - bn="`basename "$i"`" + bn=$(basename "$i") d=${i##$SRCDIR/} echo "$i $BASEDIR/$d" >> $CABLIST.$$ done for i in $SRCDIR/navit/icons/*.xpm do - bn="`basename "$i"`" + bn=$(basename "$i") echo "$i $BASEDIR/icons/" >> $CABLIST.$$ done @@ -64,17 +64,17 @@ if [ "$MAPSDIR" != "" ] then for i in $MAPSDIR/*.bin do - bn="`basename "$i"`" + bn=$(basename "$i") echo "$i $BASEDIR/maps/$bn" >> $CABLIST.$$ done for i in $MAPSDIR/*.txt do - bn="`basename "$i"`" + bn=$(basename "$i") echo "$i $BASEDIR/maps/$bn" >> $CABLIST.$$ done for i in $MAPSDIR/*.img do - bn="`basename "$i"`" + bn=$(basename "$i") echo "$i $BASEDIR/maps/$bn" >> $CABLIST.$$ done fi |