So... just use the standard equality operators:
- = for string equality comparison.
- -eq for numeric equality comparison.
Also, please note that this also affects configure scripts, and the problem in these appears much more commonly than in other scripts!