# HG changeset patch # User Pascal Bellard # Date 1296920226 -3600 # Node ID 7d5ccd76597b23e33d9a046fffd381e6012f32a4 # Parent 7d497422d8034e5dd7a403d994e6de4a0c061cd8 syslinux: no more awk in shell tools (again) diff -r 7d497422d803 -r 7d5ccd76597b syslinux/stuff/tools/isohybrid.sh --- a/syslinux/stuff/tools/isohybrid.sh Sat Feb 05 16:34:18 2011 +0100 +++ b/syslinux/stuff/tools/isohybrid.sh Sat Feb 05 16:37:06 2011 +0100 @@ -76,9 +76,9 @@ skip=$(( (3*$partok) + $hd0)) store32 432 $(($lba * 4)) store32 440 $id - store32 508 $((0xAA550000)) + store32 508 0xAA550000 e=$(( (($entry -1) % 4) *16 +446)) - store32 $e $((0x10080)) + store32 $e 0x10080 esect=$(( ($sectors + ((($cylinders -1) & 0x300) >>2)) <<16)) ecyl=$(( (($cylinders -1) & 0xff) <<24)) store32 $(($e + 4)) $(($partype + (($heads - 1) <<8) +$esect +$ecyl))