summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/verify_all
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-20 21:23:23 +0000
committerAlan Conway <aconway@apache.org>2008-06-20 21:23:23 +0000
commitd843260b5ca7b8945144c27e584777c9b6da276a (patch)
tree74e36abc6518fccd631057cbdb991d7680b8e00d /qpid/cpp/examples/verify_all
parente34a577698e195c576d168480dafcc524e41fa24 (diff)
downloadqpid-python-d843260b5ca7b8945144c27e584777c9b6da276a.tar.gz
Patch from Manuel Teira: https://issues.apache.org/jira/secure/CommentAssignIssue!default.jspa?action=5&id=12398038
- Use standard automake makefiles to build cpp/examples. - Rationalize examples directory structure. Additions to patch: - Fix for VPATH builds. - Fix make distcheck (finally!) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@670066 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/verify_all')
-rwxr-xr-xqpid/cpp/examples/verify_all7
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/examples/verify_all b/qpid/cpp/examples/verify_all
index 0e797202ff..9fbaa4a8df 100755
--- a/qpid/cpp/examples/verify_all
+++ b/qpid/cpp/examples/verify_all
@@ -9,9 +9,10 @@ exclude_regexp=$3
python=${QPID_PYTHON_DIR:-$topsrcdir/python}
trap "$qpidd -q" exit
-export QPID_PORT=`$qpidd -dp0 --no-module-dir --data-dir "" --auth no` || { echo "Can't run qpidd" ; exit 1; }
-export PYTHON_EXAMPLES=$python/examples
-export PYTHONPATH=$python:$PYTHONPATH
+QPID_PORT=`$qpidd -dp0 --no-module-dir --data-dir "" --auth no` || { echo "Can't run qpidd" ; exit 1; }
+PYTHON_EXAMPLES=$python/examples
+PYTHONPATH=$python:$PYTHONPATH
+export QPID_PORT PYTHON_EXAMPLES PYTHONPATH
test -d $PYTHON_EXAMPLES || echo "WARNING: No python examples. $PYTHON_EXAMPLES not found."
find="find examples"