about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtranslate2
-rwxr-xr-xtranslate_emulated2
2 files changed, 2 insertions, 2 deletions
diff --git a/translate b/translate
index de8a51ad..a8831504 100755
--- a/translate
+++ b/translate
@@ -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
diff --git a/translate_emulated b/translate_emulated
index c7631786..da1b44e6 100755
--- a/translate_emulated
+++ b/translate_emulated
@@ -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