wok-current diff syslinux/stuff/tools/isohybrid.sh @ rev 22261

libdvdread-dev: install dvdread.pc in pkgconfig directory
author Richard Dunbar <mojo@slitaz.org>
date Tue Nov 12 23:58:25 2019 -0500 (2019-11-12)
parents 02ed2446b480
children 31a47c12da10
line diff
     1.1 --- a/syslinux/stuff/tools/isohybrid.sh	Sat Jun 02 16:13:06 2018 +0200
     1.2 +++ b/syslinux/stuff/tools/isohybrid.sh	Tue Nov 12 23:58:25 2019 -0500
     1.3 @@ -1,6 +1,6 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -if [ "$1" == "--build" ]; then
     1.7 +if [ "$1" = "--build" ]; then
     1.8  	cat >> $0 <<EOM
     1.9  $(for i in fx fx_f fx_c px px_f px_c ; do
    1.10       cat mbr/isohdp$i.bin /dev/zero | dd bs=1 count=512 2> /dev/null
    1.11 @@ -238,7 +238,7 @@
    1.12  	[ $always -eq 0 ] && exit 1
    1.13  }
    1.14  
    1.15 -[ "$(readiso 17 7 23)" == "EL TORITO SPECIFICATION" ] ||
    1.16 +[ "$(readiso 17 7 23)" = "EL TORITO SPECIFICATION" ] ||
    1.17  	abort "no boot record found."
    1.18  cat=$(read32 17 71)
    1.19  [ $(read32 $cat 0) -eq 1 -a $(read32 $cat 30) -eq $(( 0x88AA55 )) ] ||