From 39a0d09358a8cae4a3d65ed13b81a810355571e5 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Thu, 12 Dec 2013 15:54:10 +0100 Subject: Update take_snapshot.py Add additional conditions to the blacklist function so that we include files needed for Boot2Qt-Android but exclude other files not needed for the build. Change-Id: I7cda448a943dc776ad6d29c872048cf256da599e Reviewed-by: Jocelyn Turcotte --- tools/scripts/git_submodule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/scripts/git_submodule.py') diff --git a/tools/scripts/git_submodule.py b/tools/scripts/git_submodule.py index f45f08cae..697232828 100644 --- a/tools/scripts/git_submodule.py +++ b/tools/scripts/git_submodule.py @@ -191,7 +191,7 @@ class Submodule: print '-- skipping ' + self.path + ' for this operating system. --' def listFiles(self): - if self.matchesOS(): + if self.matchesOS() and os.path.isdir(self.path): currentDir = os.getcwd() os.chdir(self.path) files = subprocessCheckOutput(['git', 'ls-files']).splitlines() -- cgit v1.2.3