• C
    Make greenplum-path.sh compatible with more shells (#11043) · dc96f667
    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
generate-greenplum-path.sh 1.1 KB