aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-06-11 17:01:13 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-06-11 17:01:13 -0700
commitdb3004459ff856e7c0142d94c84832e6bf6199a3 (patch)
treea1974cc35e3698d9e3b678b294395dfe219d7612 /scripts
parent82f53ac82c2f36fc41cc0c57c57e0f1323dd43a9 (diff)
downloadvcpkg-db3004459ff856e7c0142d94c84832e6bf6199a3.tar.gz
vcpkg-db3004459ff856e7c0142d94c84832e6bf6199a3.zip
Improve disableMetrics propagation when consuming CMakeLists directly
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index e883f5476..478183372 100644
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -1,10 +1,10 @@
#!/bin/sh
-vcpkgDisableMetrics="0"
+vcpkgDisableMetrics="OFF"
for var in "$@"
do
if [ "$var" = "-disableMetrics" ]; then
- vcpkgDisableMetrics="1"
+ vcpkgDisableMetrics="ON"
else
echo "Unknown argument $var"
exit 1