BISERVER-3498 - Platform shell scripts use Bourne Again Shell commands while using the Bourne Shell interpreter

What was done:
1) changed export of variable
2) changed file test condition to be suported by sh
3) commented out cd call which is unsupported by sh and seems to be
unnecessary
Merge pull request #1217 from kolinus/BISERVER-3498

BISERVER-3498 - Platform shell scripts use Bourne Again Shell commands w...