aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-07-28 10:07:27 -0400
committerGitHub <noreply@github.com>2018-07-28 10:07:27 -0400
commit00c2489af0e774cfdfdcbac36008a77c841b940b (patch)
tree282281f3f443949eb507fadd37ca795c3fd8f3d4 /python/servo/bootstrap_commands.py
parent539f38263175f16b1768b453b2a314bed7b02f4d (diff)
parent2ad37bda2c58cd8b79c645316bd1e4580a881a37 (diff)
downloadservo-00c2489af0e774cfdfdcbac36008a77c841b940b.tar.gz
servo-00c2489af0e774cfdfdcbac36008a77c841b940b.zip
Auto merge of #21104 - wayling:master, r=jdm
"./mach env" cause unclear message. We did't use "LD_LIBRARY_PATH" and no need display this. <!-- Please describe your changes on the following line: --> Remove the print message. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ X] `./mach build -d` does not report any errors - [ X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21104) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 3be7a208815..092d6653d2d 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -39,12 +39,12 @@ class MachCommands(CommandBase):
category='bootstrap')
def env(self):
env = self.build_env()
- print("export RUSTFLAGS=%s" % env["RUSTFLAGS"])
- print("export PATH=%s" % env["PATH"])
+ print("export RUSTFLAGS=%s" % env.get("RUSTFLAGS", ""))
+ print("export PATH=%s" % env.get("PATH", ""))
if sys.platform == "darwin":
- print("export DYLD_LIBRARY_PATH=%s" % env["DYLD_LIBRARY_PATH"])
+ print("export DYLD_LIBRARY_PATH=%s" % env.get("DYLD_LIBRARY_PATH", ""))
else:
- print("export LD_LIBRARY_PATH=%s" % env["LD_LIBRARY_PATH"])
+ print("export LD_LIBRARY_PATH=%s" % env.get("LD_LIBRARY_PATH", ""))
@Command('bootstrap',
description='Install required packages for building.',