From 15ed1db3d69ba1f892f4df4b60d2b7e9add377ce Mon Sep 17 00:00:00 2001 From: "Darryl L. Pierce" Date: Mon, 30 Sep 2013 15:14:24 +0000 Subject: QPID-5189: Created config.sh for Qpid Dispatch The file sets or updates the PYTHONPATH to include the path to the Python modules for Qpid Dispatch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1527608 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/extras/dispatch/config.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 qpid/extras/dispatch/config.sh diff --git a/qpid/extras/dispatch/config.sh b/qpid/extras/dispatch/config.sh new file mode 100644 index 0000000000..0f5f77e549 --- /dev/null +++ b/qpid/extras/dispatch/config.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# +# 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. +# + +cd $(dirname ${BASH_SOURCE[0]}) > /dev/null +export QPID_DISPATCH_HOME=$(pwd) +cd - > /dev/null + +export PYTHONPATH=$PYTHONPATH:$QPID_DISPATCH_HOME/python + -- cgit v1.2.1