aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integration.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-09-21 12:44:25 -0700
committerRobert Schumacher <roschuma@microsoft.com>2016-09-21 12:44:25 -0700
commite70a61d97213bb138f6a1d0e641e9ba7c5df3480 (patch)
tree210e0624d166941822eb0b4236edee9682ed9371 /toolsrc/src/commands_integration.cpp
parentfef2ec1ff2a85db0306b537dfab799be7f6dd01b (diff)
parente2f34523ddbc10eeda877c5b27eaca336832ac33 (diff)
downloadvcpkg-e70a61d97213bb138f6a1d0e641e9ba7c5df3480.tar.gz
vcpkg-e70a61d97213bb138f6a1d0e641e9ba7c5df3480.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into KindDragon-fmt
Diffstat (limited to 'toolsrc/src/commands_integration.cpp')
-rw-r--r--toolsrc/src/commands_integration.cpp2
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";