treewide: replace backticks by $(...) in gen_*_img.sh scripts

This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[decapitalized patch subject at submitter's request]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
Adrian Schmutzler
2019-07-25 00:51:27 +02:00
committed by Christian Lamparter
parent 0bbfc3dff7
commit c5b4fa20fa
13 changed files with 13 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ ROOTFSSIZE="$5"
head=4
sect=63
set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
set $(ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M)
BOOTOFFSET="$(($1 / 512))"
BOOTSIZE="$(($2 / 512))"