Skip to content

Escape all paths in DownloadLibDatadog#7583

Merged
bouwkast merged 1 commit intomasterfrom
steven/quote-download-libdatadog-paths
Oct 1, 2025
Merged

Escape all paths in DownloadLibDatadog#7583
bouwkast merged 1 commit intomasterfrom
steven/quote-download-libdatadog-paths

Conversation

@bouwkast
Copy link
Collaborator

Summary of changes

This wraps all paths in DownloadLibDatadog so that we don't run into issues of spaces in the paths.

Reason for change

Fails to build if you are running the build script from a directory that has a space in it.

Implementation details

Extracted some of the paths and then quoted them all.

Test coverage

Ran locally in a directory -> C:/Delete Me/dd-trace-dotnet/ and it failed.
With this it passed.

Other details

@bouwkast bouwkast requested a review from a team as a code owner September 29, 2025 20:08
@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Sep 29, 2025
Copy link
Collaborator

@gleocadie gleocadie left a comment

Choose a reason for hiding this comment

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

LGTM

@bouwkast bouwkast merged commit bef226e into master Oct 1, 2025
92 of 149 checks passed
@bouwkast bouwkast deleted the steven/quote-download-libdatadog-paths branch October 1, 2025 14:06
@github-actions github-actions bot added this to the vNext-v3 milestone Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants