Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Fix an error in build-test.cmd #8890

Merged
merged 3 commits into from Jan 19, 2017
Merged

Conversation

parjong
Copy link

@parjong parjong commented Jan 11, 2017

build-test.cmd failed to execute internal scripts when the current project directory path includes spaces.

This commit adds double quotation to prevent this issue.

@parjong
Copy link
Author

parjong commented Jan 11, 2017

@dotnet-bot test this please

@janvorli
Copy link
Member

@parjong I am not experiencing this problem. My CMake is in C:\Program Files (x86)\CMake\bin\cmake.exe and it works just fine. Could it possibly be some other issue on your machine?

@parjong parjong changed the title Fix an error in CMake Probe Fix an error in build-test.cmd Jan 11, 2017
@parjong
Copy link
Author

parjong commented Jan 11, 2017

@janvorli You're right. I found this issue while working on some Jenkns instance (I have no direct access). I guessed that this issue comes from CMake, but it turns out that the project path itself causes this issue.

@parjong
Copy link
Author

parjong commented Jan 19, 2017

@janvorli Could you let me know who is responsible to this issue? It seems like overkill to mention dotnet/coreclr-contrib.

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@janvorli janvorli merged commit e7369c5 into dotnet:master Jan 19, 2017
@parjong parjong deleted the fix/probe_win branch January 19, 2017 00:57
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Fix an error in CMake Probe

* Add double qutation around %__ProjectDir

* Revert "Fix an error in CMake Probe"

This reverts commit dotnet/coreclr@78be1c0.


Commit migrated from dotnet/coreclr@e7369c5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants