diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-24 12:30:14 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-24 12:30:14 -0800 |
| commit | d5e7a501e907f06ad1e8bb4ffdebce9a29179d2d (patch) | |
| tree | af0681e7ebdb12e9481e8f4003c2aafe5db82b1b /toolsrc/src/vcpkg_Environment.cpp | |
| parent | ccda20a8584a9fcc89c4dd631e5ef8d4189f1131 (diff) | |
| download | vcpkg-d5e7a501e907f06ad1e8bb4ffdebce9a29179d2d.tar.gz vcpkg-d5e7a501e907f06ad1e8bb4ffdebce9a29179d2d.zip | |
Download nuget.exe in a version-including subfolder in Downloads\
Diffstat (limited to 'toolsrc/src/vcpkg_Environment.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Environment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_Environment.cpp b/toolsrc/src/vcpkg_Environment.cpp index c204bfaf4..66d33edeb 100644 --- a/toolsrc/src/vcpkg_Environment.cpp +++ b/toolsrc/src/vcpkg_Environment.cpp @@ -87,7 +87,8 @@ namespace vcpkg::Environment void ensure_nuget_on_path(const vcpkg_paths& paths) { - const std::wstring path_buf = Strings::wformat(L"%s;%s", paths.downloads.native(), System::wdupenv_str(L"PATH")); + const fs::path downloaded_nuget = paths.downloads / "nuget-3.5.0"; + const std::wstring path_buf = Strings::wformat(L"%s;%s", downloaded_nuget.native(), System::wdupenv_str(L"PATH")); _wputenv_s(L"PATH", path_buf.c_str()); static constexpr std::array<int, 3> nuget_version = {3,3,0}; |
