From 3c453b7bd2d4cf4df26f1b512ae03744740455f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 29 Apr 2016 18:58:37 +0200 Subject: [PATCH] Ignore invalid folders in `platform` Fixes #4479 (cherry picked from commit f938793e7892639d5cea894aae447ed256f51c41) --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 6d6fe2859c..a2c5edf5e0 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