bluebanquise / infrastructure

Infrastructure around BlueBanquise
MIT License
6 stars 6 forks source link

auto-builder doesn't accept '0' as an argument with OpenSuSE 15 #15

Closed neilmunday closed 2 years ago

neilmunday commented 2 years ago

Hi,

I'm trying to use the auto_builder.sh script under OpenSuSE 15 on a virtual machine (libvirt). If I select option '0', it seems that this does not trigger the case option.

I'm using MobaXterm under Windows 10 but I have also tried via virt-viewer and I get the same result. Is this a bug?

neilmunday commented 2 years ago

As a comparison, a CentOS 8 VM (libvirt) works fine when '0' is selected.

oxedions commented 2 years ago

Well, yes, I made a stupid mistake:

        if [ "$distribution" = 'openSUSE Leap' ]; then
          if [ "$distribution_version" = "15.1" ]; then

= instead of ==

I will fix that.

neilmunday commented 2 years ago

Ah ha! I tried to see what was wrong but missed that typo. Glad you found it.

oxedions commented 2 years ago

Fixed ;-)