diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-21 12:32:28 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-21 12:32:28 -0700 |
| commit | e2f34523ddbc10eeda877c5b27eaca336832ac33 (patch) | |
| tree | 977adb15ad0c015e33f234dd11d68abb4f232515 /toolsrc/src | |
| parent | 794122fef36d7f6d7bb4b2bdf088aba99f1eed95 (diff) | |
| download | vcpkg-e2f34523ddbc10eeda877c5b27eaca336832ac33.tar.gz vcpkg-e2f34523ddbc10eeda877c5b27eaca336832ac33.zip | |
[integration] Add check that the targets file was properly copied
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/commands_integration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/src/commands_integration.cpp b/toolsrc/src/commands_integration.cpp index 368ff0581..0b1aa3696 100644 --- a/toolsrc/src/commands_integration.cpp +++ b/toolsrc/src/commands_integration.cpp @@ -202,6 +202,8 @@ namespace vcpkg default: Checks::unreachable(); } + + Checks::check_exit(fs::exists(system_wide_targets_file), "Error: failed to copy targets file to %s", system_wide_targets_file.string()); } const fs::path appdata_src_path = tmp_dir / "vcpkg.user.targets"; |
