I'm trying to set global environment variables in my mac so that they can be seen from anywhere. I've tried setting them in both /profile and /.bash_profile but still when I run my script from blender then call echo $MY_LIB_PATH and echo $MY_PRO_PATH only one of them $My_PRO_PATH exists, I'm not sure why, looks like there is another location where $My_PRO_PATH is set where I need to set $My_LIB_PATH as well. Any advice please?
this is my /etc/profile:
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
export MY_LIB_PATH=/usr/local/mypro/mylib/
export MY_PRO_PATH=/usr/local/mypro/
this is my bash_profile:
export MY_LIB_PATH=/usr/local/mypro/mylib/
export MY_PRO_PATH=/usr/local/mypro/