# HG changeset patch # User Pascal Bellard # Date 1551285993 -3600 # Node ID 5f0310e95031ce73da902648822fd86713e6898c # Parent 6af397cf2eb5f56c93282d9fb301e072649bc105 Remove ashism == diff -r 6af397cf2eb5 -r 5f0310e95031 linux/stuff/bootloader.sh --- a/linux/stuff/bootloader.sh Thu Dec 08 22:36:08 2016 +0100 +++ b/linux/stuff/bootloader.sh Wed Feb 27 17:46:33 2019 +0100 @@ -282,7 +282,7 @@ rm -f $bs } -if [ "$FORMAT" == "0" ]; then # unsplitted +if [ "$FORMAT" = "0" ]; then # unsplitted floppyset > $PREFIX PAD=$(( 512 - ($(stat -c %s $PREFIX) % 512) )) [ $PAD -ne 512 ] && ddq if=/dev/zero bs=1 count=$PAD >> $PREFIX