PYTHONPATH variable
Change-Id: I4113a7804c5e5a293368513759fde459efb419ce
diff --git a/voltha/adapters/adtran_olt/Makefile b/voltha/adapters/adtran_olt/Makefile
index 7e88ba3..f892a14 100644
--- a/voltha/adapters/adtran_olt/Makefile
+++ b/voltha/adapters/adtran_olt/Makefile
@@ -6,7 +6,7 @@
VENVDIR=$(WORKING_DIR)venv
TESTDIR=$(WORKING_DIR)test
-ADD_TO_PYTHONPATH := export PYTHONPATH=$(PYTHONPATH):$(VOLTHA_DIR)protos/third_party;
+PYTHONPATH := $(PYTHONPATH):$(VOLTHA_DIR)protos/third_party;
IN_VENV=. '$(VENVDIR)/bin/activate';
PROFILING=--profile-svg
@@ -16,7 +16,7 @@
PROFILING=
endif
-RUN_PYTEST=$(IN_VENV) $(ADD_TO_PYTHONPATH) python -m pytest -vvlx $(PROFILING) --cov=$(WORKING_DIR) --cov-report term-missing --cov-report html
+RUN_PYTEST=$(IN_VENV) PYTHONPATH=$(PYTHONPATH) python -m pytest -vvlx $(PROFILING) --cov=$(WORKING_DIR) --cov-report term-missing --cov-report html
$(VENVDIR):
@virtualenv -p python2 $(VENVDIR)