mirror of
https://github.com/microsoft/vcpkg
synced 2024-11-20 16:06:00 -07:00
[bootstrap.sh] Fix whitespace-in-path issues
This commit is contained in:
parent
6294c6af84
commit
52f01eefa6
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
vcpkgRootDir=$(X= cd -- "$(dirname -- "$0")" && pwd -P)
|
||||
. $vcpkgRootDir/scripts/bootstrap.sh
|
||||
. "$vcpkgRootDir/scripts/bootstrap.sh"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue