environment: fix variable setting

This is not shell