diff --git a/gpMgmt/Makefile b/gpMgmt/Makefile index b94f67c195c..372dae8ed46 100644 --- a/gpMgmt/Makefile +++ b/gpMgmt/Makefile @@ -9,7 +9,6 @@ $(recurse) generate_greenplum_path_file: mkdir -p $(DESTDIR)$(prefix) unset LIBPATH; \ - export WHICHPYTHON=$(PYTHON); \ bin/generate-greenplum-path.sh > $(DESTDIR)$(prefix)/greenplum_path.sh install: generate_greenplum_path_file diff --git a/gpMgmt/bin/generate-greenplum-path.sh b/gpMgmt/bin/generate-greenplum-path.sh index 70eeb48f5cf..25e60065337 100755 --- a/gpMgmt/bin/generate-greenplum-path.sh +++ b/gpMgmt/bin/generate-greenplum-path.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash cat <<"EOF" -#!/usr/bin/env bash if test -n "${ZSH_VERSION:-}"; then # zsh SCRIPT_PATH="${(%):-%x}" @@ -27,13 +26,9 @@ else fi EOF -cat <