Skip to content
Snippets Groups Projects
Commit 2e14dd23 authored by Rosen Penev's avatar Rosen Penev Committed by Adrian Schmutzler
Browse files

scripts/gen_image_generic.sh: remove $ in arithmetic


Fixes shellcheck warning:

SC2004: $/${} is unnecessary on arithmetic variables.

Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
parent 19be55aa
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ rm -f "$OUTPUT"
head=16
sect=63
cyl=$(( ($KERNELSIZE + $ROOTFSSIZE) * 1024 * 1024 / ($head * $sect * 512)))
cyl=$(( (KERNELSIZE + ROOTFSSIZE) * 1024 * 1024 / (head * sect * 512)))
# create partition table
set `ptgen -o "$OUTPUT" -h $head -s $sect -p ${KERNELSIZE}m -p ${ROOTFSSIZE}m ${ALIGN:+-l $ALIGN} ${SIGNATURE:+-S 0x$SIGNATURE}`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment