summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-01 04:46:21 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-01 04:46:21 -0500
commit867cf21fd667f719d66a01f69358818f22681fdf (patch)
treec8a6ed2a07cafddbb15e70f404587e6a3fe722d2 /python
parentb626d8a1d15ce6fa3a174b3181cd3e7410c24621 (diff)
downloadaura-central-867cf21fd667f719d66a01f69358818f22681fdf.tar.gz
Fix ppCheck to work in single topsrctree mode
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozbuild/mach_commands.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py
index 79e06fdda..55da508e4 100644
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -547,7 +547,7 @@ class Build(MachCommandBase):
if not os.path.exists(ppcheck_script):
ppcheck_script = mozpath.join(self.topsrcdir, "platform", "build", "ppCheck.py")
else:
- ppcheck_script = None
+ ppcheck_script = mozpath.join(self.topsrcdir, "build", "ppCheck.py")
if ppcheck_script:
ppcheck_cmd = [which.which("python2.7"), ppcheck_script, ppcheck_path]
@@ -555,8 +555,7 @@ class Build(MachCommandBase):
if not ppcheck_script or ppcheck_result:
print("\nWARNING: Something has gone wrong with the check for un-preprocessed files. " +
- "Please manually verify that files are properly preprocessed." +
- "\n\nNOTE: If you are building the JavaScript Engine only, then no action is required.")
+ "Please manually verify that files are properly preprocessed.")
return status