• C
    Fix source greenplum_path.sh error with set -u (#11085) · 1f429744
    Chen Mulong 提交于
    The error was introduced by dc96f667.
    If `set -u` was called before sourcing greenplum_path.sh with bash, an
    error `ZSH_VERSION: unbound variable` would be reported.
    To solve the issue, use shell syntax `{:-}` which will output an empty
    value if the variable doesn't exist.
    
    Tested with zsh, bash and dash.
    1f429744
generate-greenplum-path.sh 1.1 KB