From 154d68048274383cbbff5412942ada5f88c152ca Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 11 Feb 2018 12:10:26 +0100 Subject: 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(-) (limited to 'build') diff --git a/build/mach_bootstrap.py b/build/mach_bootstrap.py index 8cdb8f0cd..bdf7c9b03 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 = { -- cgit v1.2.3