summaryrefslogtreecommitdiff
path: root/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
commit11ccae93c7550828f7083a74f90a691769271b66 (patch)
tree3d4ef5541f1261daca012ab926ba3fdffcee7315 /cpp/examples/verify_all
parent7566d73d9c3e1226728ac3699d85ae0ad9715cee (diff)
downloadqpid-python-11ccae93c7550828f7083a74f90a691769271b66.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/qpid@670066 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/verify_all')
-rwxr-xr-xcpp/examples/verify_all7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/examples/verify_all b/cpp/examples/verify_all
index 0e797202ff..9fbaa4a8df 100755
--- a/cpp/examples/verify_all
+++ b/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"