aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_create.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-09-30 17:09:23 -0700
committerRobert Schumacher <roschuma@microsoft.com>2016-09-30 17:09:23 -0700
commit98b4a67fe1af6974f146b518c0f1644de290d8da (patch)
tree015bea935501b3ae80c635b06da83e9591d9166c /toolsrc/src/commands_create.cpp
parent241ca8cd17929d53a5c10c4f366f6972d865ba4f (diff)
parent188eac680ba930c51943d4af34de58bbd325dcb1 (diff)
downloadvcpkg-98b4a67fe1af6974f146b518c0f1644de290d8da.tar.gz
vcpkg-98b4a67fe1af6974f146b518c0f1644de290d8da.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg
Diffstat (limited to 'toolsrc/src/commands_create.cpp')
-rw-r--r--toolsrc/src/commands_create.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/src/commands_create.cpp b/toolsrc/src/commands_create.cpp
index d365dac70..5e88f9c65 100644
--- a/toolsrc/src/commands_create.cpp
+++ b/toolsrc/src/commands_create.cpp
@@ -2,6 +2,7 @@
#include "vcpkg_System.h"
#include "vcpkg_Environment.h"
#include "vcpkg_Files.h"
+#include "vcpkg_Input.h"
namespace vcpkg
{
@@ -14,6 +15,7 @@ namespace vcpkg
expected<package_spec> current_spec = package_spec::from_string(args.command_arguments[0], default_target_triplet);
if (const package_spec* spec = current_spec.get())
{
+ Input::check_triplet(spec->target_triplet, paths);
Environment::ensure_utilities_on_path(paths);
// Space OR define the FILENAME with proper spacing