Closed cjcjameson closed 6 years ago
@chibin @khuddlefish we'll want to encode the equivalent of this repo's setup.sh
into ace-gpdbci rather than simply running this script, I think. If we just run this script, we'll get a weird diff.
Thanks a lot @cjcjameson.
For my own education, the .bashrc
will be set for each non-login interactive session, where the .bash_profile
will be executed on a login shell, which MacOS terminal will do. On most Linux environment, if I open a terminal, the .bashrc
is used, however on MacOS, the .bash_profile
is used.
Let me leave this setting out of the script, so people can set it properly in their own environment. Thanks. Feel free to close this PR.
If someone opens up a subshell (non-login), we expect that it will inherit env variables as appropriate. So bash_profile would be better
Author: C.J. Jameson cjameson@pivotal.io