[sonic-yang-models/setup.py]: Making path of pre-installed pacakges relative. (#4430)
Signed-off-by: Praveen Chaudhary pchaudhary@linkedin.com
This commit is contained in:
parent
89fb1059fa
commit
df7acdb664
@ -9,7 +9,7 @@ from os import system, environ
|
|||||||
from sys import exit
|
from sys import exit
|
||||||
|
|
||||||
# find path of pkgs from environment vars
|
# find path of pkgs from environment vars
|
||||||
prefix = '/sonic'; debs = environ["STRETCH_DEBS_PATH"]
|
prefix = '../../'; debs = environ["STRETCH_DEBS_PATH"]
|
||||||
deps_path = '{}/{}'.format(prefix, debs)
|
deps_path = '{}/{}'.format(prefix, debs)
|
||||||
# dependencies
|
# dependencies
|
||||||
libyang = '{}/{}'.format(deps_path, environ["LIBYANG"])
|
libyang = '{}/{}'.format(deps_path, environ["LIBYANG"])
|
||||||
|
Loading…
Reference in New Issue
Block a user