From 28246abb5a087ec7104a8642355b76d6c33ac2b9 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sat, 4 Jan 2014 07:31:41 +0800 Subject: [PATCH] [BSP] [ci skip] fix list issue in SConscript --- bsp/xplorer4330/m4/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/xplorer4330/m4/SConscript b/bsp/xplorer4330/m4/SConscript index 2adbbaa3d..e8d5aac16 100644 --- a/bsp/xplorer4330/m4/SConscript +++ b/bsp/xplorer4330/m4/SConscript @@ -2,11 +2,11 @@ from building import * cwd = GetCurrentDir() objs = [] -list = os.listdir(cwd+'\\..') +list = os.listdir(os.path.join(cwd, '..')) for d in list: if d!='m4': - path = os.path.join(cwd+'\\..', d) + path = os.path.join(cwd, '..', d) if os.path.isfile(os.path.join(path, 'SConscript')): objs = objs + SConscript(os.path.join(path, 'SConscript'))