aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap-vcpkg.sh2
-rw-r--r--scripts/bootstrap.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap-vcpkg.sh b/bootstrap-vcpkg.sh
index b77b74890..a7643894c 100755
--- a/bootstrap-vcpkg.sh
+++ b/bootstrap-vcpkg.sh
@@ -1,4 +1,4 @@
#!/bin/sh
vcpkgRootDir=$(X= cd -- "$(dirname -- "$0")" && pwd -P)
-. $vcpkgRootDir/scripts/bootstrap.sh
+. "$vcpkgRootDir/scripts/bootstrap.sh"
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 8a4c92936..e999fa55e 100644
--- a/scripts/bootstrap.sh
+++ b/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