aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ports.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ports.cmake b/scripts/ports.cmake
index eeb7b254c..5887504d2 100644
--- a/scripts/ports.cmake
+++ b/scripts/ports.cmake
@@ -38,7 +38,7 @@ macro(debug_message)
endif()
endmacro()
-if(CMD MATCHES "^SCAFFOLD$")
+if(CMD MATCHES "^CREATE$")
if(EXISTS ports/${PORT}/portfile.cmake)
message(FATAL_ERROR "Portfile already exists: '${VCPKG_ROOT_DIR}/ports/${PORT}/portfile.cmake'")
endif()