Use "test" which is known by /bin/sh instead of a syntax requiring bash 3.0