Removing old version of local protos and pyvoltha before installing from local package
Change-Id: Ic5a886c167ab203ec8ade49c1c82e46567ab8f74
diff --git a/python/Makefile b/python/Makefile
index ee23590..9e371d0 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -64,6 +64,7 @@
local-protos:
mkdir -p local_imports
ifdef LOCAL_PROTOS
+ rm -f local_imports/voltha-protos/dist
mkdir -p local_imports/voltha-protos/dist
cp ${LOCAL_PROTOS}/dist/*.tar.gz local_imports/voltha-protos/dist/
endif
@@ -71,6 +72,7 @@
local-pyvoltha:
mkdir -p local_imports
ifdef LOCAL_PYVOLTHA
+ rm -f local_imports/pyvoltha/dist
mkdir -p local_imports/pyvoltha/dist
cp ${LOCAL_PYVOLTHA}/dist/*.tar.gz local_imports/pyvoltha/dist/
endif