summaryrefslogtreecommitdiff
path: root/cpp/examples/verify_all
diff options
context:
space:
mode:
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"