[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:
Praveen Chaudhary 2020-04-15 20:27:04 -07:00 committed by GitHub
parent 89fb1059fa
commit df7acdb664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"])