Follow /bin/sh style of variable exporting.