Browse Source

mkdisk.sh: smaller divisor for fat size

TODO: Replace mtools/mkfs.fat with our own tool that can create perfectly sized FATs.
K. Lange 2 years ago
parent
commit
e7616e7da2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util/mkdisk.sh

+ 1 - 1
util/mkdisk.sh

@@ -9,7 +9,7 @@ OUTDIR=`dirname $1`
 
 # Calculate required space
 SPACE_REQ=$(du -sb "$DIR/../fatbase" | cut -f 1)
-let "SIZE = ($SPACE_REQ / 1040000)"
+let "SIZE = ($SPACE_REQ / 1000000)"
 
 # Minimum size
 if [ $SIZE -lt 24 ]; then