summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass')
-rw-r--r--meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass b/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass
index 9b66e7ea9..73a4875df 100644
--- a/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass
@@ -55,8 +55,8 @@ python discovery_services_postinstall() {
if not avahi_enabled and slp_enabled:
return
- avahi_service_dir = d.getVar('AVAHI_SERVICES_DIR', True)
- slp_service_dir = d.getVar('SLP_SERVICES_DIR', True)
+ avahi_service_dir = d.getVar('AVAHI_SERVICES_DIR', True).strip()
+ slp_service_dir = d.getVar('SLP_SERVICES_DIR', True).strip()
if not os.path.exists(avahi_service_dir):
os.makedirs(avahi_service_dir)