- edited description
nonportable operators for "test"
Issue #36
resolved
The MOAB configure script contains several usages of
test "$foo" == "bar"
rather than the portable
test "$foo" = "bar"
I know that bash supports the "==" operator, but a number of prominent shells do not. For example, on Ubuntu LTS 14.04, /bin/sh points to dash instead of bash. I'm not personally blocked by this, but it will block many users who don't know the difference.
I started having this issue with MOAB 4.9.1 (it's not an option in the "Version" pulldown menu for this post).
Comments (4)
-
reporter -
Thanks Ron. I'll go over our configuration scripts and make this change.
-
-
assigned issue to
-
assigned issue to
-
- edited description
- changed status to resolved
Most of these have been addressed already.
- Log in to comment