summaryrefslogtreecommitdiffstats
path: root/build/mach_bootstrap.py
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-11 12:10:26 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-11 12:10:26 +0100
commit154d68048274383cbbff5412942ada5f88c152ca (patch)
tree02e10844e1bb8a96ade7ec269ee0a2b3a71b6161 /build/mach_bootstrap.py
parent37d5300335d81cecbecc99812747a657588c63eb (diff)
downloadUXP-154d68048274383cbbff5412942ada5f88c152ca.tar
UXP-154d68048274383cbbff5412942ada5f88c152ca.tar.gz
UXP-154d68048274383cbbff5412942ada5f88c152ca.tar.lz
UXP-154d68048274383cbbff5412942ada5f88c152ca.tar.xz
UXP-154d68048274383cbbff5412942ada5f88c152ca.zip
Don't bust when addon-sdk dir exists but is empty (e.g. after pull)
Diffstat (limited to 'build/mach_bootstrap.py')
-rw-r--r--build/mach_bootstrap.py2
1 files changed, 1 insertions, 1 deletions
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 = {