From ebc70be8e8cead74bcbc1c535fe06f5221c8c2ab Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 15 May 2020 17:25:58 -0400 Subject: [PATCH] ti84: use dd instead of truncate More portable --- recipes/ti84/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/ti84/Makefile b/recipes/ti84/Makefile index 7700de6..bce38c9 100644 --- a/recipes/ti84/Makefile +++ b/recipes/ti84/Makefile @@ -19,8 +19,7 @@ emul: $(EMUL) $(TARGET) $(EMUL) $(TARGET) os.rom: $(TARGET) - cp $(TARGET) $@ - truncate -s 1M $@ + dd if=$(TARGET) bs=1M of=$@ conv=sync os.8xu: os.rom $(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00