wok-current rev 20725
syslinux/iso2exe: fix old case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 08 19:28:56 2019 +0100 (2019-02-08) |
parents | 4c206553708a |
children | 6cfb86797173 |
files | syslinux/stuff/iso2exe/iso2exe.sh |
line diff
1.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Fri Feb 08 17:33:45 2019 +0100 1.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Fri Feb 08 19:28:56 2019 +0100 1.3 @@ -154,6 +154,7 @@ 1.4 { 1.5 [ $(get 1024 "$ISO") -eq 35615 ] && x=1024 || 1.6 x=$((512*(1+$(get 417 "$ISO" 1)))) 1.7 + [ $x -gt 32768 ] && x=6656 1.8 stub=$(($(get 20 "$ISO") - 0xC0)) 1.9 c=$(custom_config_sector "$ISO") 1.10 SIZE=0; OFFSET=0