-
由 Chen Mulong 提交于
The generated greenplum_path.sh env file contained bash specific syntax previously, so it errors out if the user's shell is zsh. zsh doesn't have BASH_SOURCE. "${(%):-%x}" is the similar replacement for zsh. Also try to support other shells with some command combinations. Tested with bash/zsh/dash.
dc96f667