@@ -643,7 +643,7 @@ if "%RestorePackages%" == "true" (
643643 )
644644
645645if not " %SIGN_TYPE% " == " " (
646- set signtoolnugetoptions = -PackagesDirectory%USERPROFILE% \.nuget\packages -ConfigFile%_nugetconfig%
646+ set signtoolnugetoptions = -PackagesDirectory" %USERPROFILE% \.nuget\packages" -ConfigFile%_nugetconfig%
647647if not " %PB_RESTORESOURCE% " == " " set signtoolnugetoptions = !signtoolnugetoptions! -FallbackSource%PB_RESTORESOURCE%
648648%_nugetexe% restore build\config\packages.config!signtoolnugetoptions!
649649@ if ERRORLEVEL1 echo Error: Nuget restore failed&& goto :failure
@@ -661,7 +661,7 @@ if "%RestorePackages%" == "true" (
661661
662662if " %NEEDS_DOTNET_CLI_TOOLS% " == " 1" (
663663:: Restore the Tools directory
664- call %~dp0 init-tools.cmd
664+ call " %~dp0 init-tools.cmd"
665665)
666666
667667set _dotnetcliexe = %~dp0 Tools\dotnetcli\dotnet.exe
@@ -760,8 +760,8 @@ echo ---------------- Done with build, starting assembly version checks --------
760760set asmvercheckpath = %~dp0 tests\fsharpqa\testenv\src\AssemblyVersionCheck
761761
762762if " %BUILD_NET40% " == " 1" (
763- echo " %~dp0 %BUILD_CONFIG% \net40\bin\fsi.exe" %asmvercheckpath% \AssemblyVersionCheck.fsx --" %~dp0 build\config\AssemblySignToolData.json" " %~dp0 %BUILD_CONFIG% "
764- " %~dp0 %BUILD_CONFIG% \net40\bin\fsi.exe" %asmvercheckpath% \AssemblyVersionCheck.fsx --" %~dp0 build\config\AssemblySignToolData.json" " %~dp0 %BUILD_CONFIG% "
763+ echo " %~dp0 %BUILD_CONFIG% \net40\bin\fsi.exe" " %asmvercheckpath% \AssemblyVersionCheck.fsx" --" %~dp0 build\config\AssemblySignToolData.json" " %~dp0 %BUILD_CONFIG% "
764+ " %~dp0 %BUILD_CONFIG% \net40\bin\fsi.exe" " %asmvercheckpath% \AssemblyVersionCheck.fsx" --" %~dp0 build\config\AssemblySignToolData.json" " %~dp0 %BUILD_CONFIG% "
765765if ERRORLEVEL 1 echo Error verifying assembly versions and commit hashes.&& goto :failure
766766)
767767