From 7161ba5ce9eddf637e761f94546f780268a5fd9f Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 11 Feb 2018 12:10:26 +0100 Subject: [PATCH] Don't bust when addon-sdk dir exists but is empty (e.g. after pull) --- build/mach_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/mach_bootstrap.py b/build/mach_bootstrap.py index 8cdb8f0cd3..bdf7c9b033 100644 --- a/build/mach_bootstrap.py +++ b/build/mach_bootstrap.py @@ -130,7 +130,7 @@ MACH_MODULES = [ 'mobile/android/mach_commands.py', ] -if os.path.exists('addon-sdk'): +if os.path.exists('addon-sdk/mach_commands.py'): MACH_MODULES += [ 'addon-sdk/mach_commands.py' ] CATEGORIES = {