jgabaut / amboso

Build tool wrapping make. Written in bash.
GNU General Public License v3.0
4 stars 0 forks source link

[BUG] The main script has some minor invalid comparison errors #64

Closed jgabaut closed 9 months ago

jgabaut commented 9 months ago

Describe the bug With 1.9.1, amboso's source_amboso_api() function was rewritten in an attempt to move to a POSIX shell. This backfired as there's some errors in the reformat of the function.

To Reproduce Steps to reproduce the behavior:

  1. Run anvil -v
  2. Error was:
/usr/local/bin/anvil: line 69: [: : integer expression expected
/usr/local/bin/anvil: line 81: [: : integer expression expected

Expected behavior The mentioned check is done correctly.

jgabaut commented 9 months ago

It seems the refactor was checking for quiet_flag without defining it. Should be fixed with 1.9.2.

jgabaut commented 9 months ago

It seems there's still an instance of the same problem:

/usr/local/bin/anvil: line 74: [: : integer expression expected
jgabaut commented 9 months ago

Should be fixed as of 1.9.4.