summaryrefslogtreecommitdiffstats
path: root/tools/scripts/git_submodule.py
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2013-12-12 15:54:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-17 12:19:41 +0100
commit39a0d09358a8cae4a3d65ed13b81a810355571e5 (patch)
tree4ad7b54435899e82552f6a69192546d8c14eda19 /tools/scripts/git_submodule.py
parente97191dd2184c587bb4c8e7ef5e50ffbace1d2f0 (diff)
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 <jocelyn.turcotte@digia.com>
Diffstat (limited to 'tools/scripts/git_submodule.py')
-rw-r--r--tools/scripts/git_submodule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scripts/git_submodule.py b/tools/scripts/git_submodule.py
index f45f08ca..69723282 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()