Fix shell goof in resource fork fix

You have to export var to have it be seen by child process