aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRémi Verschelde2016-04-29 18:58:37 +0200
committerRémi Verschelde2016-05-01 12:27:14 +0200
commit3c453b7bd2d4cf4df26f1b512ae03744740455f4 (patch)
tree9950d08201afc19ea1da9b3b74b9d866167b1cdf /SConstruct
parentf0337637004d7edfb0fd0067e54712efb1f380ee (diff)
downloadgodot-3c453b7bd2d4cf4df26f1b512ae03744740455f4.tar.gz
godot-3c453b7bd2d4cf4df26f1b512ae03744740455f4.tar.zst
godot-3c453b7bd2d4cf4df26f1b512ae03744740455f4.zip
Ignore invalid folders in `platform`
Fixes #4479 (cherry picked from commit f938793e7892639d5cea894aae447ed256f51c41)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 6d6fe2859..a2c5edf5e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -23,7 +23,7 @@ platform_exporters=[]
global_defaults=[]
for x in glob.glob("platform/*"):
- if (not os.path.isdir(x)):
+ if (not os.path.isdir(x) or not os.path.exists(x+"/detect.py")):
continue
tmppath="./"+x