aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_env.cpp
diff options
context:
space:
mode:
authormmazat <m.mazaheri.t@gmail.com>2017-06-07 21:02:57 -0400
committerGitHub <noreply@github.com>2017-06-07 21:02:57 -0400
commitff52016d018c9d346cd402e9cc98d24dff39d900 (patch)
tree217cdb8ba8e0011f8d88a56e19770009289661b6 /toolsrc/src/commands_env.cpp
parent56b27d1d00b08af2cba16197cc7b5f5eed98bca0 (diff)
parentab0b48927505103c4b8782f90a44336a2bb7791d (diff)
downloadvcpkg-ff52016d018c9d346cd402e9cc98d24dff39d900.tar.gz
vcpkg-ff52016d018c9d346cd402e9cc98d24dff39d900.zip
Merge pull request #1 from Microsoft/master
pull changes from upstream
Diffstat (limited to 'toolsrc/src/commands_env.cpp')
-rw-r--r--toolsrc/src/commands_env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_env.cpp b/toolsrc/src/commands_env.cpp
index 5e1ecc5e7..dd7172b89 100644
--- a/toolsrc/src/commands_env.cpp
+++ b/toolsrc/src/commands_env.cpp
@@ -13,7 +13,7 @@ namespace vcpkg::Commands::Env
args.check_and_get_optional_command_arguments({});
auto pre_build_info = Build::PreBuildInfo::from_triplet_file(paths, default_triplet);
- System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, paths.get_toolset()) + L" && cmd");
+ System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, paths.get_toolset(pre_build_info.platform_toolset)) + L" && cmd");
Checks::exit_success(VCPKG_LINE_INFO);
}