[bootstrap.sh] Fix whitespace-in-path issues

This commit is contained in:
Alexander Karatarakis 2018-05-16 04:48:26 +00:00
parent 6294c6af84
commit 52f01eefa6
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
vcpkgRootDir=$(X= cd -- "$(dirname -- "$0")" && pwd -P)
. $vcpkgRootDir/scripts/bootstrap.sh
. "$vcpkgRootDir/scripts/bootstrap.sh"

View File

@ -97,7 +97,7 @@ fetchTool()
return 1
fi
xmlFileAsString=`cat $vcpkgRootDir/scripts/vcpkgTools.xml`
xmlFileAsString=`cat "$vcpkgRootDir/scripts/vcpkgTools.xml"`
toolRegexStart="<tool name=\"$tool\" os=\"$os\">"
toolData="$(extractStringBetweenDelimiters "$xmlFileAsString" "$toolRegexStart" "</tool>")"
if [ "$toolData" = "" ]; then