Use POSIX-compatible dd(1) instead of head -c.

This commit is contained in:
Anthony J. Bentley
2019-08-30 23:11:28 -06:00
parent 350f40300c
commit a517f900e4
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ RGBLINK=../../rgblink
$RGBASM -o $otemp bank-numbers.asm
$RGBLINK -o $gbtemp $otemp > bank-numbers.out 2>&1
head -c 20 $gbtemp > bank-numbers.out.bin 2>&1
dd if=$gbtemp count=1 bs=20 > bank-numbers.out.bin 2>/dev/null
$RGBASM -o $otemp section-attributes.asm
$RGBLINK -l section-attributes.link \