|
(Assuming that script.env can be found in the current PATH with . script.env).
Sounds like the script.env needs export statements for each environment variable.
MY_VARIABLE="my_value" ; export MY_VARIABLE
Or in some shells just:
export MY_VARIABLE="my_value"
An example would help.
|