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

@@ -9,7 +9,7 @@ ALIGN="$6"
rm -f "$OUTPUT"
# create partition table
set `ptgen -o "$OUTPUT" -h 16 -s 32 -l ${ALIGN} -t 0x27 -p ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m`
set $(ptgen -o "$OUTPUT" -h 16 -s 32 -l ${ALIGN} -t 0x27 -p ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m)
KERNELOFFSET="$(($1 / 512))"
ROOTFSOFFSET="$(($3 / 512))"