This commit is contained in:
parent
b6ba4c30cc
commit
281f38a7c2
|
@ -74,7 +74,7 @@ dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'
|
|||
## Font data at another well-defined location
|
||||
cat font.subx |sed 's,/[^ ]*,,' |linux/hex > a.font
|
||||
|
||||
if [ `stat --printf="%s" a.bin` -ge $(( ($DEBUG - $FONT) * 512 )) ]
|
||||
if [ `stat --printf="%s" a.font` -ge $(( ($DEBUG - $FONT) * 512 )) ]
|
||||
then
|
||||
echo "font will overwrite debug info in disk"
|
||||
exit 1
|
||||
|
|
|
@ -78,7 +78,7 @@ dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'
|
|||
## Font data at another well-defined location
|
||||
cat font.subx |sed 's,/[^ ]*,,' |linux/hex > a.font
|
||||
|
||||
if [ `stat --printf="%s" a.bin` -ge $(( ($DEBUG - $FONT) * 512 )) ]
|
||||
if [ `stat --printf="%s" a.font` -ge $(( ($DEBUG - $FONT) * 512 )) ]
|
||||
then
|
||||
echo "font will overwrite debug info in disk"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue