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

Fix the build issue when path to git repository has spaces - #4388

Merged
jkotas merged 1 commit into
dotnet:masterfrom
ww898:ww898-fix-spaces-in-coreclr-repo-path
Apr 22, 2016
Merged

jkotas merged 1 commit into
dotnet:masterfrom
ww898:ww898-fix-spaces-in-coreclr-repo-path

Conversation

@ww898

@ww898 ww898 commented Apr 18, 2016

Copy link
Copy Markdown

Partly fix the coreclr build issue when path to git repository contains spaces (for example "d:\z z\coreclr").

The same issue in "d:\z z\coreclr\packages\Microsoft.DotNet.BuildTools\1.0.25-prerelease-00312-02\lib\versioning.targets"(288):

  1. Need to replace $(IntermediateOutputPath) to "$(IntermediateOutputPath.TrimEnd(''))"
  2. All other path in this line should be quoted with ".

…r example "d:\z z\coreclr").

The same issue in "d:\z z\coreclr\Tools\versioning.targets"(288): $(IntermediateOutputPath) should be "$(IntermediateOutputPath.TrimEnd('\'))" and all other path should be quoted with " in this line.
@dnfclas

dnfclas commented Apr 20, 2016

Copy link
Copy Markdown

@ww898, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

@jkotas

jkotas commented Apr 22, 2016

Copy link
Copy Markdown
Member

LGTM

@jkotas
jkotas merged commit 4e769b7 into dotnet:master Apr 22, 2016
@jkotas

jkotas commented Apr 22, 2016

Copy link
Copy Markdown
Member

Thanks!

packages\Microsoft.DotNet.BuildTools

The source for this package lives in https://github.com/dotnet/buildtools/ if you would like to fix it.

@weshaggard

Copy link
Copy Markdown
Member

@joperezr can you have a look at this and put similar fixes into the corefx init-tools?

cc @StephenBonikowsky

@joperezr

Copy link
Copy Markdown
Member

will do

picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…r example "d:\z z\coreclr"). (dotnet/coreclr#4388)

The same issue in "d:\z z\coreclr\Tools\versioning.targets"(288): $(IntermediateOutputPath) should be "$(IntermediateOutputPath.TrimEnd('\'))" and all other path should be quoted with " in this line.

Commit migrated from dotnet/coreclr@4e769b7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants