From 9110b25d13cce94d237b9b8ce6d2be0ff9058583 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 1 Jul 2019 16:17:48 +0200 Subject: Remove `./mach env` as it is a lie. We stopped overriding `$PATH` since using rustup. The printed variables are not sufficient to do anything. --- python/servo/bootstrap_commands.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'python/servo/bootstrap_commands.py') diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py index a2df3aaef33..605b78362d8 100644 --- a/python/servo/bootstrap_commands.py +++ b/python/servo/bootstrap_commands.py @@ -34,18 +34,6 @@ from servo.util import delete, download_bytes, download_file, extract, check_has @CommandProvider class MachCommands(CommandBase): - @Command('env', - description='Print environment setup commands', - category='bootstrap') - def env(self): - env = self.build_env() - 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.get("DYLD_LIBRARY_PATH", "")) - else: - print("export LD_LIBRARY_PATH=%s" % env.get("LD_LIBRARY_PATH", "")) - @Command('bootstrap', description='Install required packages for building.', category='bootstrap') -- cgit v1.2.3