Skip to content

Commit

Permalink
[bootstrap.sh] Fix whitespace-in-path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed May 16, 2018
1 parent 6294c6a commit 52f01ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap-vcpkg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

vcpkgRootDir=$(X= cd -- "$(dirname -- "$0")" && pwd -P)
. $vcpkgRootDir/scripts/bootstrap.sh
. "$vcpkgRootDir/scripts/bootstrap.sh"
2 changes: 1 addition & 1 deletion scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52f01ee

Please sign in to comment.