You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2017/04/27 20:15:03 UTC

qpid-dispatch git commit: DISPATCH-390 - Removed accidental checkin of config.sh

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 3b04b3932 -> f7a00efeb


DISPATCH-390 - Removed accidental checkin of config.sh


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/f7a00efe
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/f7a00efe
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/f7a00efe

Branch: refs/heads/master
Commit: f7a00efebbcf404720d32bc09b35ccde5896708a
Parents: 3b04b39
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Thu Apr 27 16:14:35 2017 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Thu Apr 27 16:14:35 2017 -0400

----------------------------------------------------------------------
 config.sh | 41 +++++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/f7a00efe/config.sh
----------------------------------------------------------------------
diff --git a/config.sh b/config.sh
index beb7ed2..7e5e97f 100644
--- a/config.sh
+++ b/config.sh
@@ -1,8 +1,33 @@
-PYTHONPATH=/home/aconway/dispatch/python:/home/aconway/dispatch/tests:/home/aconway/dispatch:/usr/local/lib/proton/bindings/python:/usr/local/lib64/proton/bindings/python:/usr/local/lib/python2.7/site-packages:/usr/local/lib64/python2.7/site-packages:/usr/lib/python27.zip:/usr/lib64/python2.7:/usr/lib64/python2.7/plat-linux2:/usr/lib64/python2.7/lib-tk:/usr/lib64/python2.7/lib-old:/usr/lib64/python2.7/lib-dynload:/usr/lib64/python2.7/site-packages:/usr/lib/python2.7/site-packages
-BUILD_DIR=/home/aconway/dispatch
-QPID_DISPATCH_HOME=/home/aconway/dispatch
-QPID_DISPATCH_LIB=/home/aconway/dispatch/src/
-MANPATH=/home/aconway/dispatch/doc/man:/usr/local/share/man:/usr/share/man
-PATH=/home/aconway/dispatch:/home/aconway/dispatch/tests:/home/aconway/dispatch/router:/home/aconway/dispatch/tools:/home/aconway/dispatch/bin:/home/aconway/bin:/home/aconway/ha/bin:/usr/local/bin:/usr/local/sbin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/bin:/usr/sbin:/home/aconway/go/bin:/home/aconway/proton/proton-c/bindings/go/bin
-SOURCE_DIR=/home/aconway/dispatch
-export PYTHONPATH BUILD_DIR QPID_DISPATCH_HOME QPID_DISPATCH_LIB MANPATH PATH SOURCE_DIR
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+if [[ ! -f config.sh ]]; then
+    echo "You must source config.sh from within its own directory"
+    return
+fi
+
+export SOURCE_DIR=$(pwd)
+export BUILD_DIR=$SOURCE_DIR/${1:-build}
+export INSTALL_DIR=$SOURCE_DIR/${2:-install}
+
+PYTHON_LIB=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='$INSTALL_DIR')")
+
+export LD_LIBRARY_PATH=$INSTALL_DIR/lib64:$INSTALL_DIR/lib:$LD_LIBRARY_PATH
+export PYTHONPATH=$PYTHON_LIB:$PYTHONPATH
+export PATH=$INSTALL_DIR/sbin:$INSTALL_DIR/bin:$SOURCE_DIR/bin:$PATH


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org