-
Notifications
You must be signed in to change notification settings - Fork 1.9k
handle space in the directory path. #2925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the fix.
@@ -75,7 +75,7 @@ if NOT exist "%DOTNET_LOCAL_PATH%" ( | |||
if exist "%BUILD_TOOLS_PATH%" goto :afterbuildtoolsrestore | |||
echo Restoring BuildTools version %BUILDTOOLS_VERSION%... | |||
echo Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages "%PACKAGES_DIR%" --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix up this line to match the line below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still does not build because I have a space in my path.
When I run -
C:\Users\Andrew Kittredge\Source\Repos\machinelearning\src\Native> .\build.cmd.
I get
CMake Error: The source directory "C:/Users/Andrew Kittredge/Source/Repos/machinelearning/bin/obj/x64.Debug/Native/Kittredge/Source/Repos/machinelearning/src/Native"".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrewkittredge - I don't understand your comment. Are you saying your change didn't fix the issue you said it is fixing?
My comment here is regarding that this line echo command
is supposed to be a duplicate of command
. So if you change the command
line - we should keep the echo command
line up-to-date.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this fixed before merge? @TomFinley , @eerhardt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #2925 +/- ##
==========================================
- Coverage 71.82% 71.82% -0.01%
==========================================
Files 812 812
Lines 142719 142719
Branches 16092 16092
==========================================
- Hits 102511 102510 -1
Misses 35830 35830
- Partials 4378 4379 +1
|
We are excited to review your PR.
So we can do the best job, please check:
Fixes #nnnn
in your description to cause GitHub to automatically close the issue(s) when your PR is merged.fixes #191