Repository: incubator-hawq
Updated Branches:
  refs/heads/master 25c87ec2b -> 3e3c41a72


HAWQ-1241. No need of ext/python in *PATH in file greenplum_path.sh

Also remove the Solaris branch code since we do not support Solaris.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/3e3c41a7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/3e3c41a7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/3e3c41a7

Branch: refs/heads/master
Commit: 3e3c41a72acbbc2a95dbda1cc30b3dadc8161f9c
Parents: 25c87ec
Author: Paul Guo <[email protected]>
Authored: Wed Dec 28 12:21:19 2016 +0800
Committer: Paul Guo <[email protected]>
Committed: Wed Dec 28 13:17:49 2016 +0800

----------------------------------------------------------------------
 tools/bin/generate-greenplum-path.sh | 25 +++----------------------
 1 file changed, 3 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/3e3c41a7/tools/bin/generate-greenplum-path.sh
----------------------------------------------------------------------
diff --git a/tools/bin/generate-greenplum-path.sh 
b/tools/bin/generate-greenplum-path.sh
index 7931356..ca08490 100755
--- a/tools/bin/generate-greenplum-path.sh
+++ b/tools/bin/generate-greenplum-path.sh
@@ -56,37 +56,18 @@ if [ -h \${GPHOME}/../hawq ]; then
 fi
 EOF
 
-# OSX does NOT have DYLD_LIBRARY_PATH, add it
-if [ "${PLAT}" = "Darwin" ] ; then
 cat <<EOF
 PATH=\$GPHOME/bin:\$PATH
-DYLD_LIBRARY_PATH=\$GPHOME/lib:\$DYLD_LIBRARY_PATH
 EOF
-fi
 
-# OSX does NOT need ext/python/bin/ path
 if [ "${PLAT}" = "Darwin" ] ; then
-cat <<EOF
-PATH=\$GPHOME/bin:\$PATH
+       cat <<EOF
+DYLD_LIBRARY_PATH=\$GPHOME/lib:\$DYLD_LIBRARY_PATH
 EOF
 else
-cat <<EOF
-PATH=\$GPHOME/bin:\$GPHOME/ext/python/bin:\$PATH
-EOF
-fi
-
-# OSX does NOT have LD_LIBRARY_PATH, add it
-if [ "${PLAT}" != "Darwin" ] ; then
-    #Solaris needs /usr/sfw/lib in order for groupsession to work and 
/usr/local/lib for readline for Python 
-    if [ "${PLAT}" = "SunOS" ] ; then
     cat <<EOF
-LD_LIBRARY_PATH=\$GPHOME/lib:\$GPHOME/ext/python/lib:/usr/sfw/lib:/usr/local/python/lib:\$LD_LIBRARY_PATH
+LD_LIBRARY_PATH=\$GPHOME/lib:\$LD_LIBRARY_PATH
 EOF
-    else
-    cat <<EOF
-LD_LIBRARY_PATH=\$GPHOME/lib:\$GPHOME/ext/python/lib:\$LD_LIBRARY_PATH
-EOF
-    fi
 fi
 
 #setup PYTHONPATH

Reply via email to