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

...hile 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