diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 1a3253ec9..a20fcb392 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -165,8 +165,8 @@ fetchTool() xmlFileAsString=`cat "$vcpkgRootDir/scripts/vcpkgTools.xml"` toolRegexStart="<tool name=\"$tool\" os=\"$os\">" toolData="$(extractStringBetweenDelimiters "$xmlFileAsString" "$toolRegexStart" "</tool>")" - if [ "$toolData" = "" ]; then - echo "Unknown tool: $tool" + if [ "$toolData" = "" ] || [[ "$toolData" == "<?xml"* ]]; then + echo "No entry for $toolRegexStart in $vcpkgRootDir/scripts/vcpkgTools.xml" return 1 fi |
