wok diff syslinux/stuff/iso2exe/iso2exe.sh @ rev 21148

pulseaudio: add some config_files
author Richard Dunbar <mojo@slitaz.org>
date Thu Mar 28 17:43:17 2019 -0400 (2019-03-28)
parents ab8e834bbcfe
children ada21ebe1860
line diff
     1.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh	Sat Feb 23 13:25:31 2019 +0100
     1.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh	Thu Mar 28 17:43:17 2019 -0400
     1.3 @@ -282,7 +282,7 @@
     1.4  		fileofs $f
     1.5  		[ $SIZE -eq 0 ] ||
     1.6  		ddq bs=1 count=$SIZE skip=$OFFSET if="$ISO" >$f
     1.7 -		[ "$f" == "syslinux.mbr" ] && restore_hybrid_mbr "$f" "$ISO"
     1.8 +		[ "$f" = "syslinux.mbr" ] && restore_hybrid_mbr "$f" "$ISO"
     1.9  	done
    1.10  }
    1.11  
    1.12 @@ -384,7 +384,7 @@
    1.13  for mode in data offset ; do
    1.14  	ofs=0
    1.15  	while read tag str; do
    1.16 -		if [ "$mode" == "data" ]; then
    1.17 +		if [ "$mode" = "data" ]; then
    1.18  			echo -en "$str\0" | hexdump -v -e '"    " 16/1 "0x%02X, "' \
    1.19  				-e '"  /* %04.4_ax */ \n"' | \
    1.20  				sed 's/ 0x  ,/      /g'
    1.21 @@ -602,7 +602,7 @@
    1.22  		h=$(get 417 "$1" 1)
    1.23  		[ -z "$RECURSIVE_PARTITION" ] || h=0
    1.24  		for i in 0 1 2 3 ; do
    1.25 -			[ $(get $((0x1BE+16*i)) $1 2) == $((0x0080)) ] || continue
    1.26 +			[ $(get $((0x1BE+16*i)) $1 2) = $((0x0080)) ] || continue
    1.27  			store $((0x1CA+16*i)) $(($mb*2048-$h)) $1 32
    1.28  			store $((0x1C5+16*i)) $(($mb-1)) $1 8
    1.29  		done